Published on

July 20, 2014

Exploring SQL Server Performance Reports

Let me start this blog post with a personal story. My fascination for computers started way back when I was about to get into high school. I remember my father taking me to his office for a family day event. It was fun to watch the PC, especially since it was the only color PC in the office at that time. It had a green font’s print CRT monitor, which was quite rare back then. It’s amazing how much technology has evolved since then.

Fast forward to today, and we are witnessing incredible advancements in technology. The processors in our watches and handheld devices are more powerful than the PCs we used to work on 15-20 years ago. As technology continues to evolve, so should our approach to troubleshooting and optimizing performance in SQL Server.

When it comes to performance tuning in SQL Server, there are several key parameters that we need to monitor. These include CPU utilization, memory consumption, disk activity, and network performance. In today’s blog post, we will focus on four different reports that can help us analyze and optimize performance:

  1. Top Queries by Average CPU Time
  2. Top Queries by Total CPU Time
  3. Top Queries by Average IO Time
  4. Top Queries by Total IO Time

These reports can be accessed from the Server node in SQL Server Management Studio. Simply right-click, go to Reports, and select Standard Reports.

Top Queries by Average CPU Time

When it comes to CPU utilization, Perfmon is still the primary tool for tracking down fundamental CPU usage. However, there are times when we need to identify which specific process is using a physical CPU. In such cases, SQL Server Management Studio can be a valuable tool.

The Top Queries by Average CPU Time report provides a color-coded graph that displays the top queries consuming CPU time. The report also includes a table that lists the top 10 CPU-consuming queries, along with their resource utilization metrics. This information can help us identify queries that may need optimization.

Top Queries by Total CPU Time

The Top Queries by Total CPU Time report is similar to the previous report, but the queries are sorted based on their total CPU time. This report can be useful for identifying queries that have consumed the most CPU time over the course of their executions.

Top Queries by Average IO Time

The Top Queries by Average IO Time report focuses on IO utilization. It provides a color-coded graph and a table that lists the top 10 queries based on their average IO time. This report can help us identify queries that may be causing high IO activity and optimize them accordingly.

Top Queries by Total IO Time

The Top Queries by Total IO Time report is similar to the previous report, but the queries are sorted based on their total IO time. This report can help us identify queries that have consumed the most IO time over the course of their executions.

Before I conclude this post, I want to emphasize the importance of these reports in troubleshooting performance issues. While there are other tools and DMVs available for performance analysis, these reports provide a user-friendly interface that can be easily accessed by DBAs and developers.

Have you used any of these reports in your SQL Server performance tuning exercises? Or do you rely on other tools and DMVs? Share your experience in the comments below!

Click to rate this post!
[Total: 0 Average: 0]

Let's work together

Send us a message or book free introductory meeting with us using button below.