Microsoft SQL Server Performance Data Collection Strategies Date What about Bill? Follow me on Twitter @BillRamo 39 24 22 15 6 4 2 About Advaiya Frustrated trying to justify resources? Interested in migrating Oracle, MySQL, Sybase, Access to SQL Server? Do you need guidance in monitoring your systems? Mailto:[email protected] 3 Welcome to the show Let’s go hunting How stuff works The future 4 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? DBA450M • Reporting Against the MDW Easily go back in time to see trends. Perform and extend tasks based on instance problem Setup Metrics that you care about. Plan UI shows missing index with expected impact Use parameter substitution UI to name the index, remove the Click on the big stuff bigcomments, to seea run the command and Query optimizer recommends Missing Index Details Click on SQL stuff again query todetails see missing so click on Viewthe Plan command loads index index problem is solved Server CPU linkdetails statement for query plan lineintoeditor see Obvious query causing the CPU DBA queries to decide problem 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 Host MDW on SCOM Try SSMS tools 1st Enable DC as needed • 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 • Try tools like Activity Monitor to solve problem • Query DMVs if necessary • If the problem lingers, enable the DC for instance • Troubleshoot the problem • Disable the DC when finished 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? 15 Resources http://twitter.com/billramo Resource Bill Ramos on MSDN SQL Sentry 45 day Eval Version Query Hash Stats Project System Center Operations Manager Title http://blogs.msdn.com/billramo http://www.sqlsentry.net/downloadtrial/trial.asp?ad=Advaiya http://code.msdn.microsoft.com/QueryHashStatistics http://www.microsoft.com/systemcenter/en/us/opera tions-manager.aspx 16 ?