-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
24 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
CREATE INDEX idx_marker_item_source_class_point ON public.markers USING gist (item, source_id, class, point((lon)::double precision, (lat)::double precision)); | ||
CREATE INDEX idx_marker_point_item_2 ON public.markers USING gist (item, point((lon)::double precision, (lat)::double precision)); | ||
CREATE INDEX idx_marker_point_item_4 ON public.markers USING gist (point((lon)::double precision, (lat)::double precision)); | ||
CREATE INDEX idx_marker_source_class_box_point_2 ON public.markers USING gist (source_id, class, point((lon)::double precision, (lat)::double precision)); | ||
DROP INDEX IF EXISTS idx_marker_item; | ||
DROP INDEX IF EXISTS idx_marker_item_lat_lon; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters