[Tile-serving] [openstreetmap/osm2pgsql] Limit the number of scheduled deletes (#1022)

Sarah Hoffmann notifications at github.com
Sun Dec 8 09:09:48 UTC 2019


As we have to issue a delete for each and every untagged node,
the number of scheduled deletes can become quite large even for
a small change file. It is better to send off the copy buffer
a bit earlier in this case to ensure that the deletes can already
run in parallel with the parsing of the file. The change also
ensures that the memory usage of the deleter is bound.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/osm2pgsql/pull/1022

-- Commit Summary --

  * Limit the number of scheduled deletes

-- File Changes --

    M src/db-copy-mgr.hpp (2)
    M src/db-copy.hpp (15)
    M src/gazetteer-style.hpp (10)

-- Patch Links --

https://github.com/openstreetmap/osm2pgsql/pull/1022.patch
https://github.com/openstreetmap/osm2pgsql/pull/1022.diff

-- 
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/pull/1022
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20191208/e6e59343/attachment-0001.html>


More information about the Tile-serving mailing list