[Tile-serving] [openstreetmap/osm2pgsql] Settings for importing the whole planet in 2019 (#962)
Ryan Lambert
notifications at github.com
Thu Oct 17 15:58:27 UTC 2019
--slim is required for flat-nodes per [the Wiki](https://wiki.openstreetmap.org/wiki/Osm2pgsql).
I see you've changed `checkpoint_completion_target` up (good), I would also increase `checkpoint_timeout` from default of 5min to a much higher value. For long running loads I set to `1d`, the max it will allow.
Are you using osm2pgsql v1.0 or an older version? If it's an older version I'd throw in `--unlogged` too, but that parameter is gone in 1.0. If you're using 1.0 `--drop` alone enables the same behavior.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/962#issuecomment-543243128
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20191017/6524c4b2/attachment.html>
More information about the Tile-serving
mailing list