SQL Server Troubleshooting Useful Links

SQL Server Troubleshooting Useful LinksWhen it comes to troubleshooting performance issues with SQL Server queries, you don’t need an advanced degree in rocket surgery.

You just need an idea of what the possible bottlenecks are and then apply some common sense. I “bucketize” performance issues by following a process of asking some simple questions. It goes something like this:

Are all queries affected, or just a subset of queries affected?

If all queries are having performance issues then I will want to examine settings that affect the entire instance, such as memory settings, or high CPU utilization. I will do this first before trying to examine any one particular query.

If only a subset of queries (or users, or a particular application) are affected then I will focus efforts on those queries first. Otherwise I may be wasting time trying to fix one query without addressing the root cause of the performance issue affecting all queries. A great example has to do with virtualization. You do not want to waste time trying to tune one query when the reason is with the host. Better to spend five minutes talking to your server admins about the memory for your guest than to waste time trying to get a query to suddenly run faster with less memory available.

Just being able to diagnose “all versus some” in the first five minutes of triage in a production down situation is invaluable. You don’t want to waste time as you begin to form your action plan to correct the problem and bring performance back to within acceptable limits.

So I’ve started compiling a list of resources that I feel help to show how troubleshooting doesn’t have to be a hard exercise. Here is my list. I will try to keep these updated over time, too, in a similar way to my compilation of Hekaton resources:

Troubleshooting: Blog Posts

Here are a handful of the blog posts I find myself referring others to read whenever I believe they need to learn some of the fundamentals for troubleshooting SQL Server performance. Don’t let the SQL version numbers (2005, 2008) fool you, the content in the papers outlines a methodology that is still applicable today:

 

Troubleshooting: Books

Here’s a list of books I recommend for the “accidental DBA” that needs some help on the basics of troubleshooting:

 

Troubleshooting: Videos

Here is a video from Conor Cunningham and Boris Baryshnikov at the 2010 PASS Summit. The video is an hour long but well worth the time:

 

Troubleshooting: Whitepapers

Here is the gold standard for troubleshooting query performance problems. It’s the original whitepaper from Tom Davidson that discusses waits and queues. I also list out any other papers that I believe will help:

 

6 thoughts on “SQL Server Troubleshooting Useful Links”

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.