You are not logged in.

Announcement

*** NOTICE: forum.openstreetmap.org is being retired. Please request a category for your community in the new ones as soon as possible using this process, which will allow you to propose your community moderators.
Please create new topics on the new site at community.openstreetmap.org. We expect the migration of data will take a few weeks, you can follow its progress here.***

#1 2011-02-14 01:02:19

Gerald Kaszuba
Member
Registered: 2011-02-11
Posts: 1

Disk space required for importing planet.osm into postgres w/ osmosis?

Hi,

NOTE: I've moved this to help.openstreetmap.org, so please answer there smile
- http://help.openstreetmap.org/questions … -w-osmosis

I've been trying to import this beast into PostgreSQL. I've been using EC2 since I don't have enough HDD space myself.

My last attempt on a large EC2 instance, with 850GB, failed because it ran out of disk space. I have a graph to show it hitting the 850GB:

AS59k

I'd like to know approximately how much space I need, or maybe 850GB is way bigger than required and osmosis is going into an infinite loop?

I couldn't find out how to enable logging on osmosis, so I can see how far it's gone into the import.

The command I'm using is:

time bzcat planet-latest.osm.bz2 | osmosis --read-xml file="/dev/stdin" enableDateParsing=no --write-pgsql user="osm" database="osm" password="osm"

For my next attempt I'll give it 2TB smile

Last edited by Gerald Kaszuba (2011-02-14 02:00:11)

Offline

Board footer

Powered by FluxBB