Database Administrator how-to
How to Tune a Slow Query
Small changes can make big performance gains.
Quick answer
Small changes can make big performance gains. In short: find; review; look, then complete the remaining steps below.
Step by step
Find the slow query in monitoring tools.
Review its execution plan.
Look for table scans and missing indexes.
Test an index or query rewrite.
Measure performance before and after.
Deploy the change through change control.
Safety reminders for database administrators
- Follow least privilege and protect credentials
- Use change control for production changes
- Encrypt sensitive data
- Keep tested backups and recovery plans
Key terms
Database · SQL · Index · Backup · Restore · RPO: see the full database administrator glossary.
