Hacker News new | past | comments | ask | show | jobs | submit login
Don't get bitten by missing foreign key indexes (leontrolski.github.io)
15 points by leontrolski on July 15, 2021 | hide | past | favorite | 1 comment



This audit can be constructed in many RDBMS. In SQL Server tracing there is warning for missing foreign key indexes needed for query plans, and stats are also kept for indexes so you can tell if the indexes are needed/used. I have a smorgasbord of audits to run on a server/database/schema to expose poor construction.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: