9 lines
742 B
SQL
9 lines
742 B
SQL
-- create indexes on global_cities_points_limited table
|
|
CREATE INDEX idx_global_cities_points_limited_a ON global_cities_points_limited (lowername, iso2)
|
|
CREATE INDEX idx_global_cities_points_limited_admin1 ON global_cities_points_limited (admin1)
|
|
CREATE INDEX idx_global_cities_points_limited_geoname_id ON global_cities_points_limited (geoname_id)
|
|
-- create indexes on global_cities_alternates_limited table
|
|
CREATE INDEX idx_global_cities_alternates_limited_admin1 ON global_cities_alternates_limited (admin1)
|
|
CREATE INDEX idx_global_cities_alternates_limited_admin1_geonameid ON global_cities_alternates_limited (admin1_geonameid)
|
|
CREATE INDEX idx_global_cities_alternates_limited_lowername ON global_cities_alternates_limited (lowername)
|