Skip to content
This repository has been archived by the owner on Oct 5, 2024. It is now read-only.

Commit

Permalink
Add more indexes for better performance
Browse files Browse the repository at this point in the history
  • Loading branch information
emi420 committed Jan 15, 2024
1 parent 6b0f2d5 commit e0b80e3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions setup/underpass.sql
Original file line number Diff line number Diff line change
Expand Up @@ -112,3 +112,6 @@ CREATE INDEX ways_line_version_idx ON public.ways_line (version);
CREATE INDEX nodes_timestamp_idx ON public.nodes(timestamp DESC);
CREATE INDEX ways_poly_timestamp_idx ON public.ways_poly(timestamp DESC);
CREATE INDEX ways_line_timestamp_idx ON public.ways_line(timestamp DESC);

CREATE INDEX idx_changesets_hashtags ON changesets USING gin(hashtags);
CREATE INDEX idx_osm_id_status ON validation (osm_id)

0 comments on commit e0b80e3

Please sign in to comment.