SpinTheMic
Pro

Explain it in 60 seconds

Finding slow queries in production

Backend Engineering · Production Debugging · Intermediate

How do you find the queries that are slowing down a production database?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • pg_stat_statements / performance_schema.
  • Slow query log with threshold.
  • Top by total time, not just slowest.
  • EXPLAIN (ANALYZE) on culprits.
  • Correlate with app traces.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics