This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Disk space needed for loading the latest planet with osm2pgsql

0

Hi! Could anybody please recommend the volume of free disk space required to import the latest planet PBF via osm2pgsql?

E.g., one of crucially important characteristics is the resulting size of the directory

PostgreSQL/{version}/data/base

after the whole loading in the slim mode with flat-nodes with hstore. What size did you get in this mode?

asked 15 Jan '19, 13:10

molokanov's gravatar image

molokanov
26223
accept rate: 0%


One Answer:

1

For the whole Europe (19.1 GB in PBF) PostgreSQL 10 database takes about 450 GB, so I assume it would be about 1 TB for the whole planet (43 GB in PBF).

answered 27 Jan '19, 04:05

kocio's gravatar image

kocio
2.1k12341
accept rate: 20%

Source code available on GitHub .