Identify slow queries
We enable slow query logging or use database monitoring tools to capture queries that exceed a time threshold. The top offenders are prioritised.
- Enable slow query logging
- Capture top slow queries
- Prioritise by frequency and impact