I want to use osmosis command to import planet-latest.osm.pbf into the openstreetmap db, i want to know how much disk space do i need, and how long time it will spend to do the import task. |
I guess you will need about 3 TB of disk space and and it will take about 2 weeks. In order to get a more reliable estimate, run the import with a small(er) extract first. The australia-oceania.osm.pbf from download.geofabrik.de is a nice test case because it is roughly 1/100 of the planet, so import that and multiply the numbers by 100. Ok, thanks to your reply.
(02 Nov '16, 14:05)
yuyy
|
You don't want to import the planet with osmosis into an "apidb" database. That database schema is not useful for rendering, most analysis, routing, or anything except hosting OpenStreetMap data to be edited. If you decide to do this, it will depend on your disks. If using 7200 RPM hard drives, expect it to take 1-3 months. I did this a few years ago when the planet was smaller and it took about a month. |
I just did a fresh import, but using osm2pgsql, size with slim tables: 558G (on a SSD Samsung 850 pro 1To). Took 38hours. |
The required time for an import heavily depends in your hardware.
Oh,then what about the disk space?