You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An index that exists but isn't used by the query planner (wrong column order, wrong type) gives you false confidence -- verify usage, not just existence.
Definition of done:
verify_indexes.sh checks the new tables
No missing-index warnings on the new query patterns
Context:
scripts/verify_indexes.shalready exists and presumably checks existing tables -- extend it to cover the new tables from #45-#47.Where:
scripts/verify_indexes.sh(and.ps1Windows equivalent, both exist inscripts/)What to do:
Suggested approach:
scripts/verify_indexes.sh(and the.ps1Windows equivalent, keep them in sync) with checks for the new tables from Design and migrate time-series schema for daily network metrics #45-Design and migrate time-series schema for wallet balance history #47.EXPLAIN/EXPLAIN ANALYZEon the real queries, don't just check the index exists in the schema.Watch out for:
Definition of done:
verify_indexes.shchecks the new tables