[Tile-serving] [osm2pgsql] Clustering strategies (#208)

Paul Norman notifications at github.com
Mon Nov 10 18:22:47 UTC 2014


> CREATE TABLE ... ORDER BY ... took 1933s while CREATE INDEX ... ST_GeoHash...; CLUSTER ...; DROP INDEX ...; took 47734s, mainly in the CLUSTER.
> 
> Unfortunately, I just realized that I did this with default work_mem and maintenance_work_mem, which make the results bad.

1GB of maintenance_work_mem brought the CLUSTER down by 10ksec or so, which is faster, but not enough to matter. I'll do a PR to switch from the current `ORDER BY way` logic to ST_GeoHash

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/208#issuecomment-62429129
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20141110/09f2b7b3/attachment.html>


More information about the Tile-serving mailing list