-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New openstreetmap-carto release, v4.12.0 #168
Comments
Well it's not going to magically tune any database indexes - you'll need to tell me what needs to be done. That said, given that we're still trying to restabilise the caches, and that I'm about ready to do a full upgrade on the render servers, it may be best to leave this for a few weeks and deploy it as the render servers are updated, which will include a reimport with whatever indexes are needed. |
Sure - the code for all the indexes is here: https://github.com/gravitystorm/openstreetmap-carto/blob/master/indexes.sql Exact changes:
Do you need anything else? |
|
I've had reports of serious performance problems on v4.12.0 with pre-rendering z0-z10 taking at least an order of magnitude longer, so I recommend not switching to v4.12.0 until that is looked at. |
Thanks, I hope we can review it before the servers are ready. |
We now have confirmation from @woodpeck that at z10 average render times have jumped from 1.5s with 4.11.0 to 33.7s with the 4.12.0 stylesheet. |
Basic debugging questions - we need more detailed reports:
|
I didn't mean to run a thorough performance analysis, it was a side effect of something else I did. I did a "git checkout" last week when 9b7067e6a2734bf65b3c8bd3fc7bb78b6f892758 was current. I used the index creation script I was given by that checkout. I ran a planet-wide pre-rendering and while z0-9 performed as expected, z10 performance was abysmal. I later did a "git checkout v4.11" and everything works nicely again. It is possible that some change between 9b7067e6a2734bf65b3c8bd3fc7bb78b6f892758 and the release of 4.12 already fixed the issue; I wouldn't know. |
So, if z0-9 was OK, it hints me that maybe new shiny z10 index is bad? The index problem has been explained in detail by @pnorman here (with table and PostgreSQL index usage heuristics), so it might be good to review it, however that's not something I'm capable of: gravitystorm/openstreetmap-carto#2874 (comment) Another test might be to look at z0-z9 and z10 with the old indexes. |
One query it tried to run frequently was this
and when I
|
So maybe this is rather a problem with gravitystorm/openstreetmap-carto#2640? I have not seen regression at z16+, but maybe this is a problem at lower zoom levels? |
We have gravitystorm/openstreetmap-carto#3280 to discuss the osm-carto issue, but I think the action is clear for OSMF servers - don't use v4.12.0, so this issue can be closed. |
A new version of openstreetmap-carto, v4.12.0, has been released.
Please notice that this version includes tuning some database indexes, which might speed up reading data.
The text was updated successfully, but these errors were encountered: