SQL Server Performance Tuning Guide
New to SQL Server performance tuning? Start here. The guides below are ordered so each one builds on the last: first understand what SQL Server is doing with your query, then find what is slow, then fix the most common causes.
1. Understand how SQL Server runs your query
- How to Read a SQL Server Execution Plan: the operators and warnings that show where the time goes.
- SQL Server Statistics Explained: why bad row estimates lead to slow plans.
- SQL Server Parameter Sniffing: why the same procedure is fast one day and slow the next.
2. Find what is slow
- How to Find Slow Queries in SQL Server: ready-to-run DMV and Query Store queries.
- SQL Server Query Store: A Practical Beginner's Guide: track query performance over time and catch regressions.
3. Fix the most common problems
- SQL Server Index Tuning for Beginners: design the right indexes without over-indexing.
- Temp Tables vs Table Variables: pick the right one for the workload.
- How to Delete or Update Millions of Rows Safely: batching without blowing up the log or blocking users.
- Entity Framework Core Performance: 8 Common Mistakes: for .NET developers whose ORM is the bottleneck.
4. Locking, blocking and deadlocks
- SQL Server Isolation Levels Explained: NOLOCK, RCSI and what each level really guarantees.
- How to Fix SQL Server Deadlocks: capture them, read the graph and stop them coming back.
New guides are added every week. See every Performance Tuning post.
Comments
Post a Comment