X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/5605725ebe2c70ecd3d07353e1c51c320642cdf3..671c08848c1531f0c52f0dfff9448086a6fc09cb:/sql/indices.src.sql?ds=sidebyside diff --git a/sql/indices.src.sql b/sql/indices.src.sql index fe42a7c3..4dc23bd2 100644 --- a/sql/indices.src.sql +++ b/sql/indices.src.sql @@ -1,9 +1,3 @@ --- osm2pgsql slim tables were on SSD just to speed up the import --- move them back to normal space -ALTER INDEX planet_osm_nodes_pkey SET TABLESPACE "data"; -ALTER INDEX planet_osm_ways_nodes SET TABLESPACE "data"; -ALTER INDEX planet_osm_rels_parts SET TABLESPACE "data"; - -- Indices used only during search and update. -- These indices are created only after the indexing process is done. @@ -27,7 +21,6 @@ CREATE INDEX idx_placex_interpolation ON placex USING BTREE (geometry_sector) TA CREATE INDEX idx_location_area_country_place_id ON location_area_country USING BTREE (place_id) TABLESPACE ssd; CREATE INDEX idx_search_name_country_centroid ON search_name_country USING GIST (centroid) TABLESPACE ssd; -CREATE INDEX idx_search_name_country_nameaddress_vector ON search_name_country USING GIN (nameaddress_vector) WITH (fastupdate = off) TABLESPACE ssd; -- start CREATE INDEX idx_location_property_-partition-_centroid ON location_property_-partition- USING GIST (centroid) TABLESPACE ssd;