[OSM-dev] osm2pgsql planet import time issues?
Ivo Brodien
philotas at cs.tu-berlin.de
Tue Jan 20 23:13:50 GMT 2009
Hi Dave,
> You can check http://www.openstreetmap.org/stats/data_stats.html to
> see the current object counts. It's about 24m ways.
ahh. Thanks. Did not know this page.
> If you don't need the whole planet then use an extract -- it goes a
> lot quicker. Otherwise invest in some more RAM -- it helps! :-)
I need the whole planet. So I guess I need to go for more RAM. My
motherboard only likes max 4GB of RAM.
> Yes, you can't now run it on a 32 bit system in non-slim mode without
> getting a segfault as you run out of address space.
> In general give it as much cache as you can. I do it with -C 2000 and
> it works (slowly, about 8-9 hours for the whole planet). But I have
> 8GB of RAM to play with. With only 2GB you're going to have to go to
> swap to complete the process anyway, so I'd just leave it on the
> default.
I did not get that 100%, sorry. So you mean I should leave the cache
to the default of 800 MB or not use the "--slim" option? If I get you
right, I should still use the --slim option (being on 32bit I have to)
and then give it more RAM. If I have installed 4 GB how much could I
use, 3GB? If you have 8GB why do you just use 2GB?
Bye
Ivo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20090121/d3a91724/attachment.html>
More information about the dev
mailing list