[Tile-serving] [osm2pgsql] Allow method of specifying custom partial indexes (#166)

Paul Norman notifications at github.com
Sat Jul 5 22:32:22 UTC 2014


It would be useful to be able to specify a list of custom indexes, which could be created at import time. This would require a few things

* A syntax for specifying the index, predicate, and where clauses
* An overhaul of the existing index creation code, probably creating all indexes like the custom indexes
* Limiting the parallelism during index creations, either to ``--number-processes`` or a different value, to account for the case where the database has different parallelism than the osm2pgsql machine.
  * Indexes on _ways, _polygon and _line should be created first, in that order, for job scheduling reasons.

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/166
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20140705/a12d4267/attachment.html>


More information about the Tile-serving mailing list