17
Microsoft SQL Server Performance Data Collection Strategies Date

Microsoft SQL Server Performance Data Collection Strategies

  • Upload
    suzy

  • View
    34

  • Download
    0

Embed Size (px)

DESCRIPTION

Microsoft SQL Server Performance Data Collection Strategies. Date. What about Bill?. Follow me on Twitter @ BillRamo. 39 24 22 15 6 4. About Advaiya. Frustrated trying to justify resources? Interested in migrating Oracle, MySQL, Sybase, Access to SQL Server? - PowerPoint PPT Presentation

Citation preview

Page 1: Microsoft SQL Server Performance Data Collection Strategies

Microsoft SQL Server Performance Data Collection StrategiesDate

Page 2: Microsoft SQL Server Performance Data Collection Strategies

2

What about Bill?Follow me on Twitter @BillRamo

39 24 22 15 6 4

Page 3: Microsoft SQL Server Performance Data Collection Strategies

3

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]

About Advaiya

Page 4: Microsoft SQL Server Performance Data Collection Strategies

4

Let’s go hunting

How stuff works The future

Welcome to the show

Page 5: Microsoft SQL Server Performance Data Collection Strategies

DBA450M • Reporting Against the MDW

Let’s go hunting

Catch them in the act

Catch them after you’ve gone home

Page 6: Microsoft SQL Server Performance Data Collection Strategies

DBA450M • Reporting Against the MDW

What did you just learn?

Activity Monitor for the “now”

MDW Reports for the “past”

Page 7: Microsoft SQL Server Performance Data Collection Strategies

DBA450M • Reporting Against the MDW

How does stuff work?

Activity MonitorData Collector and MDW Reports

MDW SchemaStuff you shouldn’t touch

Page 8: Microsoft SQL Server Performance Data Collection Strategies

DBA450M • Reporting Against the MDW

What did you just learn?

Activity Monitor using tempdb at a regular interval

DC using SSIS and collection sets to collect data

MDW houses the data with reports to see history

Script collection sets to see what is collected

Don’t mess with the jobs

Page 9: Microsoft SQL Server Performance Data Collection Strategies

DBA450M • Reporting Against the MDW

What does the future hold?

Is System Center Operations Manager in your future?

Page 10: Microsoft SQL Server Performance Data Collection Strategies

SCOM 2007 R2 Provides Historical Data and Actionable UI Based on Selected SQL Instance

Setup Metrics that you care about.

Easily go back in time to see trends.

Perform and extend tasks based on

instance problem

Page 11: Microsoft SQL Server Performance Data Collection Strategies

SQL Server DC and MDW Provides Detailed Context

Click on SQL Server CPU line to see

queriesObvious 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

Page 12: Microsoft SQL Server Performance Data Collection Strategies

SCOM Now Shows Health StateIndex

created here

Expected range before ending

workload

Page 13: Microsoft SQL Server Performance Data Collection Strategies

MDW Power Comes at a Cost

MDW grows around 250GB to 600 GB per day per instance collected compared to Ops

Manager DB which has collects much less data

Page 14: Microsoft SQL Server Performance Data Collection Strategies

How to Optimize Data Collection?

• 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 necessaryTry SSMS tools 1st

• If the problem lingers, enable the DC for instance

• Troubleshoot the problem• Disable the DC when finished

Enable DC as needed

Page 15: Microsoft SQL Server Performance Data Collection Strategies

15

Just in case you didn’t askAKA 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?

Page 16: Microsoft SQL Server Performance Data Collection Strategies

16

Resourceshttp://twitter.com/billramo Resource TitleBill Ramos on MSDN http://blogs.msdn.com/billramoSQL Sentry 45 day Eval Version http://www.sqlsentry.net/download-trial/trial.

asp?ad=AdvaiyaQuery Hash Stats Project http://code.msdn.microsoft.com/QueryHashS

tatisticsSystem Center Operations Manager

http://www.microsoft.com/systemcenter/en/us/operations-manager.aspx

Page 17: Microsoft SQL Server Performance Data Collection Strategies

?