Closed agstephens closed 4 years ago
Task is:
Find where we create the spatial index in the cdm lite code, and replace it to use this new index.
Find where we create the spatial index for the full cdm code, and replace it.
They are all currently btree
.
Added make-indexes-sql.py
and create-indexes.sql
to the playbook - for CDMLite.
Done for CDMLite.
Done now for CDMFull.
E.g.
CREATE INDEX observations_1999_land_0_location_gist_idx ON lite.observations_1999_land_0 USING gist ( location );
Works better than
btree
index.