[Tile-serving] [osm2pgsql-dev/osm2pgsql] All generalizers can now differentiate between create and append mode, use this to not run ANALYZE in append mode (PR #2175)

Jochen Topf notifications at github.com
Fri Apr 12 07:41:19 UTC 2024


Running ANALYZE excessively can block the autovacuum daemon from ever finishing a vacuum. Better let the daemon handling analyzes and vacuums.
You can view, comment on, or merge this pull request online at:

  https://github.com/osm2pgsql-dev/osm2pgsql/pull/2175

-- Commit Summary --

  * Generalizer: Add "append" flag as parameter to all generalizers
  * Generalizer: Do not run ANALYZE in append mode
  * Generalizer: Use new append flag instead of delete_existing flag

-- File Changes --

    M src/gen/gen-base.cpp (4)
    M src/gen/gen-base.hpp (5)
    M src/gen/gen-create.cpp (13)
    M src/gen/gen-create.hpp (2)
    M src/gen/gen-discrete-isolation.cpp (8)
    M src/gen/gen-discrete-isolation.hpp (2)
    M src/gen/gen-rivers.cpp (19)
    M src/gen/gen-rivers.hpp (3)
    M src/gen/gen-tile-builtup.cpp (10)
    M src/gen/gen-tile-builtup.hpp (2)
    M src/gen/gen-tile-raster.cpp (9)
    M src/gen/gen-tile-raster.hpp (3)
    M src/gen/gen-tile-vector.cpp (12)
    M src/gen/gen-tile-vector.hpp (3)
    M src/gen/gen-tile.cpp (9)
    M src/gen/gen-tile.hpp (3)
    M src/gen/osm2pgsql-gen.cpp (9)

-- Patch Links --

https://github.com/osm2pgsql-dev/osm2pgsql/pull/2175.patch
https://github.com/osm2pgsql-dev/osm2pgsql/pull/2175.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/osm2pgsql-dev/osm2pgsql/pull/2175
You are receiving this because you are subscribed to this thread.

Message ID: <osm2pgsql-dev/osm2pgsql/pull/2175 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20240412/2b80d244/attachment-0001.htm>


More information about the Tile-serving mailing list