Interview practice question
A query suddenly became slow
Backend Engineering · Relational Databases · Experienced
A critical query became 100 times slower overnight with no code changes. How do you diagnose and fix it?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Plan changed (stats, data growth).
- Compare EXPLAIN plans.
- ANALYZE to refresh stats.
- Index tweak or query rewrite.
- Plan monitoring (pg_stat_statements).
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.