forked from raystack/compass
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf: index asset_urn, timestamp cols in asset_probes tbl (#55)
- Loading branch information
1 parent
9487308
commit e83ac41
Showing
4 changed files
with
4 additions
and
0 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
internal/store/postgres/migrations/000017_create_idx_asset_probes_ts_table.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 CONCURRENTLY IF EXISTS idx_asset_probes_ts; |
1 change: 1 addition & 0 deletions
1
internal/store/postgres/migrations/000017_create_idx_asset_probes_ts_table.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 CONCURRENTLY IF NOT EXISTS idx_asset_probes_ts ON asset_probes (timestamp); |
1 change: 1 addition & 0 deletions
1
internal/store/postgres/migrations/000018_create_idx_asset_probes_urn_table.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 CONCURRENTLY IF EXISTS idx_asset_probes_urn; |
1 change: 1 addition & 0 deletions
1
internal/store/postgres/migrations/000018_create_idx_asset_probes_urn_table.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 CONCURRENTLY IF NOT EXISTS idx_asset_probes_urn ON asset_probes (asset_urn); |