Skip to content

Commit 810d2e6

Browse files
committed
Drop unused IndexBuildOutputsOnPath index
Also it's larger than the actual table it's indexing lol. -[ RECORD 30 ]----------+----------------------------------------- table_name | buildoutputs index_name | indexbuildoutputsonpath index_scans_count | 0 index_size | 31 GB table_reads_index_count | 2128699937 table_reads_seq_count | 0 table_reads_count | 2128699937 table_writes_count | 22442976 table_size | 28 GB
1 parent f48f00e commit 810d2e6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/sql/upgrade-83.sql

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
-- This index was introduced in a migration but was never recorded in
2+
-- hydra.sql (the source of truth), which is why `if exists` is required.
3+
drop index if exists IndexBuildOutputsOnPath;

0 commit comments

Comments
 (0)