-
Notifications
You must be signed in to change notification settings - Fork 330
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add postgresql index and use IN instead of many OR (#4670)
- Loading branch information
1 parent
718f666
commit a65e269
Showing
4 changed files
with
23 additions
and
25 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
quickwit/quickwit-metastore/migrations/postgresql/16_create-index-split-uid.down.sql
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 @@ | ||
DROP INDEX IF EXISTS splits_index_uid_idx; |
1 change: 1 addition & 0 deletions
1
quickwit/quickwit-metastore/migrations/postgresql/16_create-index-split-uid.up.sql
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 @@ | ||
CREATE INDEX IF NOT EXISTS splits_index_uid_idx ON splits USING HASH(index_uid); |
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
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