How would you debug badly performing SQL query?
Answer
Debugging SQL Server Performance
Answer
Debugging SQL Server Performance
- Check SQL Server Configuration. …
- Make Sure Snapshot Mode Is On. …
- Check Database Indexes. …
- Avoid Fragmentation. …
- Run Missing Index Report. …
- Monitor Database Sessions. …
- Use Windows Resource Monitor. …
- Identify Slow Queries.