PostgreSQL/PostGIS optimizations for Rendering
Posted by species on 2 February 2014 in English (English).I’m working as a freelancer for opendi AG (Munich), where I did set up an OSM Rendering-Server with Mapnik/PostGIS.
Performance after initial setup was way too slow, so i’ve done some work for rendering speed tuning. I’ve written a small How-To because i haven’t found one in the OSM-Wiki:
http://wiki.openstreetmap.org/wiki/User:Species/PostGIS_Tuning
Having some ideas for improving PostgreSQL performance too? It’s a wiki, add it ☺
Comment from Vincent de Phily on 3 February 2014 at 10:11
Thanks for sharing. The indexes are good hints, even though which ones you need depend on your stylesheet, and some of them look quite heavy-handed :p For the PG settings however :
Comment from species on 3 February 2014 at 10:32
Thanks Vincent, i have updated the how-to a bit to your comments.
I’m using a only slightly modified version of the osm-carto stylesheet - of course it depends on it.
no, i havent known or tried any other analyzers ;-) I’m completely new in the field of DB optimizing - thanks for the hints!