Skip to content

Conversation

@joto
Copy link
Collaborator

@joto joto commented Jan 31, 2026

Limits the number of tiles for which the generalizer is run. Used when generalization is too expensive to always run for all expired tiles. There is a good chance that later changes in the data affect the same tile again, so in the long run this saves effort.

Tiles are generalized oldest first when this is used. Don't set max_tiles_per_run or set to 0 to run generalization for all tiles
in the expire table for that zoom level.

joto added 2 commits January 31, 2026 15:06
The TRUNCATE didn't work, because there can be tiles from more than one
zoom level in the same table.

Using DELETE ... RETURNING we are ensured to always delete exactly what
we are getting back.
Limits the number of tiles for which the generalizer is run. Used when
generalization is too expensive to always run for all expired tiles.
There is a good chance that later changes in the data affect the same
tile again, so in the long run this saves effort.

Tiles are generalized oldest first when this is used. Don't set
max_tiles_per_run or set to 0 to run generalization for all tiles
in the expire table for that zoom level.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant