Microsoft SQL Server Performance Data Collection Strategies Date
2 What about Bill? Follow me on
3 Frustrated trying to justify resources? Interested in migrating Oracle, MySQL, Sybase, Access to SQL Server? Do you need guidance in monitoring your systems? About Advaiya
4 Let’s go hunting How stuff works The future Welcome to the show
DBA450M Reporting Against the MDW Let’s go hunting
DBA450M Reporting Against the MDW What did you just learn?
DBA450M Reporting Against the MDW How does stuff work?
DBA450M Reporting Against the MDW What did you just learn?
DBA450M Reporting Against the MDW What does the future hold?
Setup Metrics that you care about. Easily go back in time to see trends. Perform and extend tasks based on instance problem
Click on SQL Server CPU line to see queries Obvious query causing the CPU problem Click on big stuff to see query details Click on the big stuff again to see query plan details Query optimizer recommends a missing index so click on View Plan link Plan UI shows missing index with expected impact Missing Index Details command loads index statement in editor for DBA to decide Use parameter substitution UI to name the index, remove the comments, run the command and the problem is solved
Index created here Expected range before ending workload
MDW grows around 250GB to 600 GB per day per instance collected compared to Ops Manager DB which has collects much less data
Run MDW Wizard against SCOM instance Configure DC for Query Stats and Server Activity via API pointing to MDW on SCOM, but don’t enable collection Host MDW on SCOM Try tools like Activity Monitor to solve problem Query DMVs if necessary Try SSMS tools 1st If the problem lingers, enable the DC for instance Troubleshoot the problem Disable the DC when finished Enable DC as needed
15 Just in case you didn’t ask AKA FAQ Can you run the reports using SSRS? Why doesn’t this work with SQL Server 2005? How do I uninstall the Data Collector? How many servers can a single MDW handle? How come I can’t start the Utility Information collection set? How come you didn’t talk about the Utility Control Point?
16 Resources ResourceTitle Bill Ramos on MSDN SQL Sentry 45 day Eval Version trial/trial.asp?ad=Advaiya Query Hash Stats Project System Center Operations Manager tions-manager.aspx
?