X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/03d6c48ef1bbc4ccd057125db6df015c0f8e53f0..be61d055469ac955205b64351b1533647bd4ddca:/sql/indices.src.sql 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;