Logo
programming4us
programming4us
programming4us
programming4us
Home
programming4us
XP
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server
programming4us
Windows Phone
 
Windows Server

SQL Server 2008 R2 : Performance Monitoring Tools (part 3) - The System Data Collectors, Data Collector Reports

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019
5/10/2013 5:59:30 PM
The System Data Collectors

When the Configure Management Data Warehouse Wizard is finished, you should see three additional nodes under the Data Collector node: Disk Usage, Query Statistics, and Server Activity. You can double-click each node, or right-click and select Properties, to open the Properties window. The Properties window for the Disk Usage Data Collector is shown in Figure 6.

Figure 6. Data Collection Set Properties window for the Disk Usage Data Collector.

The main item you may want to change in the Data Collection Set Properties window is the data collection and upload schedule. By default, the wizard configures the Disk Usage Collection set to run in noncached mode every six hours. Depending on how active your server is, you might want to increase or decrease the frequency that it runs. You can also configure how long it should retain data in the MDW. By default, it is configured to retain data for two years (730 days). This is probably fine for keeping track of disk usage, but for more active Data Collector Sets, you might want to reduce the retention period to reduce the size of the MDW. For example, the default retention period for the Query Statistics and Server Activity Data Collectors is 14 days.

Both the Query Statistics and Server Activity Data Collectors are configured to cache data and upload to the MDW on a separate schedule. If you look in the General page of the Data Collection Set Properties window for these Data Collectors, you see that the schedule Query Statistics Data Collector is to gather information every 10 seconds, and the Server Activity collector gathers information every 60 seconds. To view the upload schedule, click on the Uploads page (see Figure 7). Both Data Collectors, by default, are configured to upload the cached data to the MDW every 15 minutes. To change the upload schedule, you can either pick from an existing schedule or create a new one (Figure 39.8 shows the Pick Schedule list). The Upload Properties page also displays the last time the cached data was uploaded to the MDW.

Figure 7. Data Collection Set upload schedule.

In very active servers, the Data Collector can generate a lot of data, and its storage tables can fill up with millions of rows within hours. You might want to modify the collector job schedules and decrease the frequency of data collections depending on the use of each server and your monitoring requirements.

Note

Data collection for the built-in system collection sets begins automatically after the Configure Management Data Warehouse completes. Depending on how active your servers are, it likely will take awhile for some meaningful data to accumulate. You might want to wait an hour or so before looking at the reports.


Data Collector Reports

After you set up data collection, SQL Server Management Studio provides three new reports for viewing data accumulated by the Data Collector: Server Activity History, Disk Usage Summary and Query Statistics History. You can view these reports by right-clicking on the Data Collection node and selecting Reports, and then select Management Data Warehouse. From there, you can choose one of the three built-in reports:

  • Disk Usage Summary— Displays data and log file sizes (starting size and current size) and average daily growth

  • Query Statistics History— Displays query execution statistics including the top 10 queries by CPU, Duration, Total I/O, Physical Reads, and Logical Writes

  • Server Activity History— Displays performance statistics in four general areas: CPU %, Disk I/O Usage, Memory Usage, and Network Usage, plus SQL Server Wait statistics by wait type and SQL Server activity

Figure 8 displays an example of the Disk Usage Summary Report. All the data collection reports provide drill-down capabilities on just about every data element and widget displayed in the main report. For example, in the Disk Usage Summary report, you can click on the database name to display a more detailed breakdown of the disk usage for that specific database. Figure 9 shows the Disk Usage details for the AdventureWorks2008R2 database. If you click on the Trend graph or the current database or log size, it displays a more detailed graph showing the growth trends for the database over time since the data collection session started.

Figure 8. Disk Usage Summary report.

Figure 9. Disk Usage report for AdventureWorks2008R2 database.

If you want to run reports for any of the monitored servers without having navigate to the Data Collection node for each server instance, you can open the server instance that hosts the MDW. Browse to the MDW database in the SSMS Object Browser and right-click on that database. Then select Reports and select the the Management Data Warehouse Overview report (see Figure 10).

Figure 10. Management Data Warehouse Overview report.

The Management Data Warehouse Overview report lists which servers the data collection is running on and shows the most recent times data was uploaded for each of the collection sets. You can click on the hyperlinks below each of the listed collection sets to bring up that corresponding report for that server. For example, if you click on the link below Server Activity for the LATITUDED830-W7 server, it displays the Server Activity History report, as shown in Figure 11.

Figure 11. The Server Activity History report.

Like the Disk Usage report, most of the data elements in the Server Activity History report are hyperlinks that let you drill down into more detail. For example, you can click in the line in the Disk I/O Usage graph to bring up additional detail by disk of the Disk Response Time, Average Disk Queue Length, Disk Transfer Rate, as well as the average, minimum, and maximum I/O reads and writes for the processes running during the data collection session.

If you want to narrow down the report to a specific time frame, you can click on a point in the timeline shown on the report to set the end time of the data displayed. You can click on the magnifying glass to increase or decrease the size of the interval displayed and click the arrow buttons to move to the next or previous interval. For finer control over the time period displayed, click on the calendar icon to bring up the dialog shown in Figure 12. Here, you can set the specific start time and choose an interval (15 minutes or 1, 4, 12, or 24 hours) to display from that start time.

Figure 12. Defining the time frame to display in a data collection report.


The Data Collector reports contain a lot of data, especially if you drill down into the details. You should plan to spend some time examining each of these reports by drilling down into the various details and selecting different time frames and so on to get familiar with what they have to offer. For example, you can drill from the Query Statistics History report to the individual query details, including the graphical execution plan.

Other -----------------
- Microsoft Systems Management Server 2003 : Package Distribution and Management - Monitoring Status
- Microsoft Systems Management Server 2003 : Configuring the Client (part 4) - Managing the Advanced Client Download Cache, Advertised Programs Process Flow
- Microsoft Systems Management Server 2003 : Configuring the Client (part 3)
- Microsoft Systems Management Server 2003 : Configuring the Client (part 2) - Running Advertised Programs on Clients - Advertised Programs Wizard
- Microsoft Systems Management Server 2003 : Configuring the Client (part 1)
- Microsoft Systems Management Server 2003 : Package Distribution and Management - Creating an Advertisement
- SharePoint 2010 : Connecting and Disconnecting Servers with Windows PowerShell, Additional Functionality in SharePoint 2010
- Microsoft Dynamics CRM 4 : Digital Phone Integration (part 3) - c360 CTI for Microsoft CRM
- Microsoft Dynamics CRM 4 : Digital Phone Integration (part 2) - Cisco Unified CallConnector for Microsoft Dynamics CRM
- Microsoft Dynamics CRM 4 : Digital Phone Integration (part 1)
 
 
Top 10
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
 
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server