300 likes | 478 Views
16 th April 2010. SQL Performance Management with SCOM 2007. Bob Duffy Database Architect Prodata SQL Centre of Excellence. Speaker Profile – Bob Duffy. SQL Server MVP MCA/MCM for SQL Server 18 years in database sector, 250+ projects Senior SQL Consultant with Microsoft 2005-2008
E N D
16th April 2010 SQL Performance Management withSCOM 2007 Bob Duffy Database Architect Prodata SQL Centre of Excellence
Speaker Profile – Bob Duffy • SQL Server MVP • MCA/MCM for SQL Server • 18 years in database sector, 250+ projects • Senior SQL Consultant with Microsoft 2005-2008 • Regular speaker for TechNet, MSDN, Users Groups, Irish and UK Technology Conferences • On MCM 2008 exam working group • Database Architect at Prodata SQL Centre Excellence, Dublin • SQL Geek ;-)
What does SCOM do for SQL SQL Performance Counters Analysing performance in Ops Console Adding Performance Rules Querying/Analysing Performance Data Adding Custom Reports Performance Monitors and Alerts Questions Agenda
SCOM Architecture “Nobody knows how to monitor Microsoft technology better than Microsoft, and Operations Manager provides us with that needed expertise in a form that’s ready to use.” • – Matthew O’Neill, Group Head of Distributed Systems, HSBC Global IT Operations
Performance Counters • Seven Common Groups of Performance Counters • CPU • Memory • Storage • Buffer Pool • SQL Workload • Database Counters • Locking This is not a complete list, just a good list for a baseline and general performance monitoring/tuning (see references for more links)
6. SQL Workload Tip: Use sp_user_counter1 to set a custom counter
The Operations Manager DW Model • Real time (ish) Data Warehouse • Three Aggregates • Raw • Hourly • Daily • Views used to abstract tables and prevent locking and support partitioning
SCOM Reporting Options SSRS Custom Reports Service Level Dashboard 2.0
Automating Performance Monitoring • What do these counters actually mean ? • See Jimmy May’s Blog et al (in references) • SCOM has flexible Monitor rules for perf counters • Static for basic thresholds like P.L.E, %Processor Time • Self Tuning for baseline counters like User Connections • Tip: P.A.L. is fantastic for understanding counters and thresholds. Find it on codeplex…
Scorecards and Dashboards • PerformancePoint builds scorecards • Really needs a cube to be built • Solution Accelerator available • Needs SharePoint 2007+
Scorecardsand Dashboards Monitor State Detail Daily Trends Hourly Data Availability Metrics Performance Counters
Wrap Up on SCOM • Good Availability Monitoring Tool • Good Alert/Event Tool • There are better pure “performance” tools • With some work can do performance monitoring • Not really a diagnostic tool: • DMV, Wait Stat and trace files not covered • Can scale to entire organization though… • Can be a vehicle for Service Level Tracking
References/Blogs • Microsoft SQL Server Management Pack for Operations Manager 2007 • http://www.microsoft.com/downloads/details.aspx?FamilyId=8C0F970E-C653-4C15-9E51-6A6CADFCA363&displaylang=en&displaylang=en#filelist • Useful Ops Manager 2007 SQL Queries • http://blogs.technet.com/kevinholman/archive/2007/10/18/useful-operations-manager-2007-sql-queries.aspx • Operations Manager 2007 Reporting Guide • http://blogs.technet.com/momteam/archive/2008/02/26/operations-manager-report-authoring-guide.aspx • SCOM Scorecards and Dashboards Sample Application/Accelerator • http://www.microsoft.com/business/performancepoint/downloads/default.aspx • SCOM 2007 Service Level Dashboard Solution Accelerator • http://technet.microsoft.com/en-us/library/cc463350.aspx • SQL Perfmon Object Counters and Thresholds • http://blogs.msdn.com/jimmymay/archive/2008/10/15/perfmon-objects-counters-thresholds-utilities-for-sql-server.aspx