From 9969c5c741fb8bb26b356e78e3277eaf3f03e1c4 Mon Sep 17 00:00:00 2001 From: Brian Sperlongano Date: Wed, 10 May 2023 01:39:45 -0400 Subject: [PATCH] Remove unused indexes (#1520) Based on analysis from planet builds for this layer as well as running updates via the integrity script as discussed in #1516, these three indexes are not used and can be removed. --- layers/place/update_city_point.sql | 2 -- layers/place/update_country_point.sql | 2 -- layers/place/update_state_point.sql | 2 -- 3 files changed, 6 deletions(-) diff --git a/layers/place/update_city_point.sql b/layers/place/update_city_point.sql index 50123764..ef831127 100644 --- a/layers/place/update_city_point.sql +++ b/layers/place/update_city_point.sql @@ -49,8 +49,6 @@ $$ LANGUAGE SQL; SELECT update_osm_city_point(true); -CREATE INDEX IF NOT EXISTS osm_city_point_rank_idx ON osm_city_point ("rank"); - -- Handle updates CREATE OR REPLACE FUNCTION place_city.store() RETURNS trigger AS diff --git a/layers/place/update_country_point.sql b/layers/place/update_country_point.sql index dc3a7c3d..adc8004e 100644 --- a/layers/place/update_country_point.sql +++ b/layers/place/update_country_point.sql @@ -98,8 +98,6 @@ $$ LANGUAGE SQL; SELECT update_osm_country_point(true); -CREATE INDEX IF NOT EXISTS osm_country_point_rank_idx ON osm_country_point ("rank"); - -- Handle updates CREATE OR REPLACE FUNCTION place_country.store() RETURNS trigger AS diff --git a/layers/place/update_state_point.sql b/layers/place/update_state_point.sql index 234851e2..9c75c3ed 100644 --- a/layers/place/update_state_point.sql +++ b/layers/place/update_state_point.sql @@ -60,8 +60,6 @@ $$ LANGUAGE SQL; SELECT update_osm_state_point(true); -CREATE INDEX IF NOT EXISTS osm_state_point_rank_idx ON osm_state_point ("rank"); - -- Handle updates CREATE OR REPLACE FUNCTION place_state.store() RETURNS trigger AS