Skip to content

Commit

Permalink
perf: index asset_urn, timestamp cols in asset_probes tbl
Browse files Browse the repository at this point in the history
  • Loading branch information
sudo-suhas committed Aug 21, 2023
1 parent 9487308 commit dc6c68c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DROP INDEX CONCURRENTLY IF EXISTS idx_asset_probes_ts;
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CREATE UNIQUE INDEX CONCURRENTLY IF NOT EXISTS idx_asset_probes_ts ON asset_probes (timestamp);
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DROP INDEX CONCURRENTLY IF EXISTS idx_asset_probes_urn;
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CREATE UNIQUE INDEX CONCURRENTLY IF NOT EXISTS idx_asset_probes_urn ON asset_probes (asset_urn);

0 comments on commit dc6c68c

Please sign in to comment.