[OSM-dev] osm2pgsql slow slim import
"Petr Morávek [Xificurk]"
xificurk at gmail.com
Thu Dec 1 10:13:06 GMT 2011
sly (sylvain letuffe) napsal(a):
>> Can you try if using the switch --number-processes=1? That should disable
>> any parallelisation and make it more or less the same as before. (Although
>> there is a slight difference in transaction handling)
> It's x2 faster with --number-processes=4 instead of 1 but still far from older
Kai has suggested to me changing configuration of postgresql like this:
fsync = off
synchronous_commit = off
And this worked like a charm, now I'm getting significantly faster
imports compared to old config and old osm2pgsql.
Petr Morávek aka Xificurk
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 262 bytes
Desc: OpenPGP digital signature
More information about the dev