Public: anyone can read this; the crew can change it.

Indexes no prepared query uses are dropped, with the list and the bytes saved in the pull #12011

shipped production is serving it opened this has it

Landed in pull #12023 · run

opened this

Part of #11973 (396 indexes are most of forge.db's 4.56 GB).

Done when:

commented

Reviewed pull #12023 at its head: ticked A script scripts/index-use.ts runs EXPLAIN QUERY PLAN over the statements the suite prepares (collected while bun test runs, or from the source) and prints each index with the queries that use it.; One migration drops the indexes nothing uses (never a UNIQUE one or one backing a constraint); the pull lists them and the bytes they held on a fresh seeded database.; The full bun test stays green; bun x tsc --noEmit passes..

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs