]> git.openstreetmap.org Git - nominatim.git/commit
fix index on location_property_tiger (parent_place_id)
authorChanngping Chen <changping.chen@samsara.com>
Mon, 19 Apr 2021 00:01:01 +0000 (00:01 +0000)
committerSarah Hoffmann <lonvia@denofr.de>
Sat, 24 Apr 2021 13:10:46 +0000 (15:10 +0200)
commit4a6e9ba1874063895d3da94277d2b3f32d73384d
tree4681c811d3e256c387f08aa360b95805798bab1e
parent10d99893f9d50fae7ea8890ff65617f0621a8516
fix index on location_property_tiger (parent_place_id)

Looks like 2af82975cd968ec09683ae5b16a9aa157a7f2176
accidentally renamed an index. Because of the added "if not
exists" clause, the index doesn't get created. This
significantly slows down reverse queries because they now
require full scans on location_property_tiger.

Without this fix, reverse queries can take 8s on a full
planet install on an r5.8xlarge instance in EC2.
lib-sql/tiger_import_finish.sql