15.5. Reporting

In closing our coverage of the data collection platform, let's take a look at the standard reports. Each of these can be accessed in SQL Server Management Studio by right-clicking Data Collection and choosing Reports > Management Data Warehouse. The data shown in the resultant report will be filtered for the server from which the report was run. Let's start with the Disk Usage Summary report.

15.5.1. Disk Usage Summary

The initial view of the Disk Usage Summary report, as shown in figure 15.9, presents a view of each database's disk usage within the instance.

Figure 15.9. The Disk Usage report includes trend lines and average growth per day for both data and log files.
 

Figure 15.10. Drilling down from the Disk Usage report provides further detail on disk usage, in this case, for the data file of the AdventureWorks2008 database.
 

The value of this report is enhanced through the ability to click on the blue trend lines to drill down into more detail. For example, clicking on the AdventureWorks2008 database trend line opens another report, as shown in figure 15.10.

The clear visibility of historical disk usage enabled by the Disk Usage reports makes capacity planning in SQL Server 2008 much simpler than in SQL Server 2005 and earlier, which required a custom process and/or a third-party product.

Next up, let's examine the Query Statistics History report.

15.5.2. Query Statistics History

The Query Statistics History report permits analysis of the most expensive queries (by duration, CPU, or disk usage). As with the Server Activity report, you can select a particular period in which to filter the report using the timeline navigation, as shown in figure 15.11.

Figure 15.11. The timeline at the top of certain reports allows the report to be filtered for a time period.
 

A section of the Query Statistics report is shown in figure 15.12.

The value of this report is enhanced by the ability to drill down into the details of each query. For example, clicking on one of the queries brings up another report, as shown in figure 15.13. Among other details, this report shows aggregated query statistics and the full query text.

Additional drill-through actions from this report provide further detail, all the way down to viewing the individual graphical execution plans.

The final report we'll examine is the Server Activity History report.

Figure 15.12. The Query Statistics report allows the most expensive queries to be identified for a time period. Clicking on the query provides further details, such as the full query text and execution plan.
 

Figure 15.13. Drilling through from the Query Statistics report shows additional query details such as execution count and average duration per execution.
 

15.5.3. Server Activity History

As shown in figure 15.14, the Server Activity History report provides a wealth of information for a selected time period, including resource usage, wait types, and performance counter values.

Like the other reports we've looked at, the Server Activity report enables drill-through action into more detail, such as clicking on the Disk I/O Usage graph line and viewing the details of each disk, as shown in figure 15.15.

Bear in mind that all of the reports shown here are standard, out-of-the-box reports that work with the standard system collection sets. Thus, the ability to derive a deeper understanding of system usage not only is very simple but comes with a relatively low administration overhead.

In addition to these standard reports, you can create custom reports as well.

Figure 15.14. Server activity for a time period
 

Figure 15.15. Drilling through from the Server Activity report enables a deeper analysis, in this case viewing each disk's response time, queue length, and transfer rate.
 

15.5.4. Custom reports

SQL Server Books Online contains a description of the tables within the MDW database. These tables can be directly queried as part of a custom report for a custom collection set or to enhance the standard reports, for example, to include data from multiple instances side by side. Further possibilities for customization exist, for example, to create Analysis Services cubes off the collected data.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.15.182.62