19
Presented to fwPASS on February 22, 2011 Management Data Warehouse

Introduction to SQL Server 2008 Management Data Warehouse (MDW)

Embed Size (px)

DESCRIPTION

The MDW, in conjuction with the Performance Data Collector, is a comprehensive performance monitoring and reporting system introduced in SQL Server 2008. It is a handy way to consolidate performance monitoring data for all your servers on a single system.

Citation preview

Page 1: Introduction to SQL Server 2008 Management Data Warehouse (MDW)

Presented to fwPASS on February 22, 2011

Management Data Warehouse

Page 2: Introduction to SQL Server 2008 Management Data Warehouse (MDW)

System consisting of a one or more collectors (Performance Data Collector), a management server (MDW), and reports.

What is a Management Data Warehouse?

Photo credit http://www.flickr.com/photos/nsalt/3276560707

MDW

Server 1

Server 2

Server 3

Server 4

Server 5

Page 3: Introduction to SQL Server 2008 Management Data Warehouse (MDW)

Physical Warehouse Data Warehouse

Database consisting of tables of data and access functions

1. Database

2. Tables

3. Data records

4. SSIS

5. stored procedures/views

6. Flat files/Agent job, Sproc/SSIS

7. Reports

Building that consists of racks or aisles of products

1. Warehouse

2. Racks

3. Lots of products

4. Forklifts for racking products

5. And picking

6. Trucks for transporting To

7. And from warehouse

What is a Management Data Warehouse?

Photo credit http://www.flickr.com/photos/nsalt/3276560707

Page 4: Introduction to SQL Server 2008 Management Data Warehouse (MDW)

• Baselining

• Performance Monitoring

• Performance troubleshooting• I/O

• CPU

• database growth

What is it used for?

Page 5: Introduction to SQL Server 2008 Management Data Warehouse (MDW)

Schemas

• Core

• Snapshots

• Custom Snapshots

• Sysutility (Utility Control Point)

Security Roles

• mdw_admin

• mdw_reader (read-only view of reports – *msdb exception)

• mdw_writer (collection set upload to MDW)

MDW components

Page 6: Introduction to SQL Server 2008 Management Data Warehouse (MDW)

• Disk Usage (collect and upload every 6 hours)

• Server Activity (every 60 seconds, upload every 15 min)

• Query Statistics (every 10 seconds, upload every 15 min)

• Custom

Data Collection Sets

Page 7: Introduction to SQL Server 2008 Management Data Warehouse (MDW)

Performance counters

DMV’s

SQL Trace

T-SQL

Data Providers

Page 8: Introduction to SQL Server 2008 Management Data Warehouse (MDW)

Click icon to add picture

• How many servers? 100+

• How much space? 400Mb/day/server

• Editions? Enterprise, Data Center,

*Standard

• Backward compatibility? No

Miscellaneous

Page 9: Introduction to SQL Server 2008 Management Data Warehouse (MDW)

SSIS

How does the data get into the warehouse?

Photo credit http://www.flickr.com/photos/cjc4454/3414861981

Page 10: Introduction to SQL Server 2008 Management Data Warehouse (MDW)

• Management Data Warehouse Overview

• Disk Usage

• Query Statistics

• Server Activity

Reports offer drill-down to additional reports/information

Reports

Page 11: Introduction to SQL Server 2008 Management Data Warehouse (MDW)

1. Configure MDW

2. Configure collectors

3. MDW schema

4. msdb

5. SQL Agent - Jobs

6. Integration Services - SSIS packages

7. Task Manager

8. Cache files

9. Collector reports

10.MDW Overview report

Demos

Page 12: Introduction to SQL Server 2008 Management Data Warehouse (MDW)

Website• www.systemental.com

• www.leanprojectmanager.com

Blogs• dean-o.blogspot.com• practicalhoshin.blogspot.com

Twitter• twitter.com/deanwillson

Email• [email protected]

LinkedIn• linkedin.com/in/deanwillson

Thank you!

Page 13: Introduction to SQL Server 2008 Management Data Warehouse (MDW)
Page 14: Introduction to SQL Server 2008 Management Data Warehouse (MDW)

Task Manager

Page 15: Introduction to SQL Server 2008 Management Data Warehouse (MDW)

Temporary Data Collector Cache

Page 16: Introduction to SQL Server 2008 Management Data Warehouse (MDW)

Disk Usage report

Page 17: Introduction to SQL Server 2008 Management Data Warehouse (MDW)

SSIS Packages

Page 18: Introduction to SQL Server 2008 Management Data Warehouse (MDW)

Hyper-V Server 2008

Page 19: Introduction to SQL Server 2008 Management Data Warehouse (MDW)

http://www.simple-talk.com/sql/learn-sql-server/sql-server-2008-performance-data-collector/

Additional Resources