[Tile-serving] [osm2pgsql] Figure out a way to use fastupdate on indexes (#37)
Paul Norman
notifications at github.com
Tue Sep 23 18:14:51 UTC 2014
> Do you have a specific use case in mind?
The current reason we can't use fastupdate is that with the high work_mem required on a rendering server the pending-entry list grows very large, and updates become extremely slow because scanning a 128MB pending-entry list is slow.
Ideally, we'd keep the pending list small, and after an osm2pgsql command has completed, force it to process the pending list, even if it's small.
This won't impact imports at all, because the GIN index isn't created until the very end and no updates occur to that table after the index is created. That column also isn't used in importing at all, just populated.
> e.g. an example command line to use?
Just normal slim mode updates.
---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/37#issuecomment-56564728
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20140923/02600132/attachment.html>
More information about the Tile-serving
mailing list