• Aucun résultat trouvé

Performance Tuning Redefined with SQL 2008

N/A
N/A
Protected

Academic year: 2022

Partager "Performance Tuning Redefined with SQL 2008"

Copied!
35
0
0

Texte intégral

(1)

Connect with lifewww.connectwithlife.co.in

Praveen Srvatsa

Director | AsthraSoft Consulting

Microsoft Regional Director, Bangalore Microsoft MVP, ASP.NET

http://blogs.asthrasoft.com/praveens | [email protected]

Performance Tuning Redefined

with SQL 2008

(2)

Connect with lifewww.connectwithlife.co.in

What We Will Cover

Performance Studio concepts (data collection, management data

warehouse)

How to monitor/troubleshoot

performance issues using Performance Studio

New performance monitoring features in SQL Server® 2008

Long-term investment: Foundations

for performance monitoring in the

future

(3)

Connect with lifewww.connectwithlife.co.in

Level 200

Helpful Experience

SQL Server Management Studio Performance Monitoring

Transact-SQL (T-SQL)

(4)

Connect with lifewww.connectwithlife.co.in

Agenda

Overview

Architecture

Components

Future Plans

(5)

Connect with lifewww.connectwithlife.co.in

What Is Performance Studio?

A framework that ties together collection,

analysis, troubleshooting, and persistence of SQL Server diagnostics information. It

consists of a suite of tools for:

Low overhead data collection

Performance monitoring, troubleshooting, tuning Persistence of diagnostics data

Reporting

Short term goals: Provide enhanced data collection and reports out of the box

(6)

Connect with lifewww.connectwithlife.co.in

Performance Studio Overview

(7)

Connect with lifewww.connectwithlife.co.in

Agenda

Overview

Architecture

Components

Future Plans

(8)

Connect with lifewww.connectwithlife.co.in

Data Collection UI (Object Explorer) Data Collection UI

(Object Explorer)

Data Collection Configuration Data Collection

Configuration

Collection Set Reports Collection Set

Reports Management Data

Warehouse

Targe Targett

Data Collector Data Collector Data Collector Data Collector Targe

Targett

Data Collector Data Collector Data Collector Data Collector

Performance Studio

Architecture

(9)

Connect with lifewww.connectwithlife.co.in

Agenda

Overview

Architecture

Components

Future Plans

(10)

Connect with lifewww.connectwithlife.co.in

Performance Studio Components

Server Side: Data Collector

Extensible data collection infrastructure Includes out of the box data collections required to identify and troubleshoot the most common problems for the relational engine

Support for SQL Server relational engine only, but other SQL Server services can be added in the future

(11)

Connect with lifewww.connectwithlife.co.in

Performance Studio Components

Server Side: Management Data Warehouse

Data repository for baseline and historical comparisons

Aggregated reporting for multiple SQL Server instances

(12)

Connect with lifewww.connectwithlife.co.in

Client Side: Data collection configuration UI

Management data warehouse properties General data collection properties

Collection set configuration

SQL Server dashboard based on system collection sets reports

Performance monitoring and troubleshooting

Historical data analysis based on warehouse information

Performance Studio

Components

(13)

Connect with lifewww.connectwithlife.co.in

Unified data collection infrastructure

Performance and general diagnostics data

Configurable and extensible

Support for adding new data providers

Centralized storage

Always on, low overhead

Tools for monitoring provide optimal database environment performance

Data Collector

(14)

Connect with lifewww.connectwithlife.co.in

Data Collector Concepts

Data Provider

Source of information (for example, SQL Trace, Perform counters, DMVs, T-SQL

queries, logs)

Collector Type

Knows how to read and expose data from specific data providers

Collection Item

Instance of a collector type

Determines data inputs and frequency

(15)

Connect with lifewww.connectwithlife.co.in

Data Collector Concepts

• Collection Set

– Group of collection items – Logic unit of data collection

• Management Data Warehouse

– Repository for data being collected (historical and baseline analysis)

(16)

Connect with lifewww.connectwithlife.co.in

select * from

dm_os_performanc e_counters

select * from

dm_os_performanc e_counters

T-SQL Collector

T-SQL Collector T-SQL

Queries T-SQL Queries

Data Provider

Data

Provider Collector

Type Collector

Type Collection

Item Collection

Item

Data Collector Concepts

(17)

Connect with lifewww.connectwithlife.co.in

Data Collector Concepts

Collection Set Collection Set Collection

Item 1 Collection

Item 1

Collection Item N Collection

Item N

(18)

Connect with lifewww.connectwithlife.co.in

Data Collector Architecture

Data Data Collector Collector (dcexec.ex (dcexec.ex

e)e) SQL SQL

Server Server Operating Operating

System System

Data Data Collect Collect

or or Cache Cache

MDWMDW SQL Agent

SQL Agent SSMSSSMS msdbmsdb

(19)

Connect with lifewww.connectwithlife.co.in

Data Collector Architecture

Collection Collection JobJob

(SSIS (SSIS runtime) runtime) Data Data Collect Collect

or or Cache Cache

Upload Job Upload Job

(SSIS (SSIS

runtime)

runtime) MDWMDW Collected

Collected DataData

(20)

Connect with lifewww.connectwithlife.co.in

Data Collection Providers

SQL Server 2008

T-SQL based queries (such as DMV data) SQL Trace

Perfmon Counters

Potential candidates for future releases

WMI events

Additional collector types that may have direct insight into SQL Server process

(21)

Connect with lifewww.connectwithlife.co.in

Data Collector Extensibility

Custom collector types

Provided by ISVs

Collections from known sources can be easily extended

Specify new SQL Trace events for collection Specify new performance counters for

collection

Custom collection sets

Based on existing Collector Types

(22)

Connect with lifewww.connectwithlife.co.in

Adding Value

Collector types that can be developed:

SANs (Storage Area Network)

Health Activity

Performance impact

Communication channels

NAS (Network Attached Storage) Network Monitoring

VMWare (Virtualization)

(23)

Connect with lifewww.connectwithlife.co.in

Management Data Warehouse

Relational database stores collect data Management Data Warehouse (MDW) objects are grouped in schemas, each schema serving a different purpose:

Core

Snapshot

Custom_Snapshot

(24)

Connect with lifewww.connectwithlife.co.in

Management Data Warehouse

Core:

Defines tables and stored procedures used for organizing and identifying collected data

Snapshot:

Objects (data tables, views) needed to store collected data from standard, out-of-the-box data collector types, and system collection sets

Custom_Snapshot:

New data tables can be added for standard collector types or third-party collector types for user-defined collection sets

(25)

Connect with lifewww.connectwithlife.co.in

MOM Server MOM Server

MOM Data Warehous

e MOM

Data Warehous

e

MDWMDW

SQL Server SQL Server

MOM Agent MOM Agent

Data Collect

or Data Collect

or

Microsoft Operations Manager (MOM)

Server Microsoft Operations Manager (MOM)

Server

MOM Data Warehous

e MOM

Data Warehous

e

MOM Integration

MOM Agent MOM Agent

(26)

Connect with lifewww.connectwithlife.co.in

MOM Integration

MOM agent uses Data Collector to gather SQL Server diagnostics

information

Data Collector provides a coherent collection set definition for specific issues

Data Collector cached data can either:

Be uploaded to the MOM data

warehouse directly by the MOM agent (no MDW)

Be uploaded to MDW first, and then to the MOM data warehouse when

required

(27)

Connect with lifewww.connectwithlife.co.in

Relational Engine Data Collection Sets

Based on top PSS reported issues

Problem characterization through out-of- the-box Data Collection Sets

Working closely with Product Support Services (PSS) and Engine teams

Address most important problems first Use right metrics for performance

issues

(28)

Connect with lifewww.connectwithlife.co.in

Performance Dashboard

Based on System Data Collection Sets

Server Activity

High level SQL Server and system information

Should be turned on all the time

Low overhead (that is, <5 percent) Query Statistics

Detailed SQL Server information

Drill down to performance issues root cause

Disk Usage

General disk activity information per database

(29)

Connect with lifewww.connectwithlife.co.in

Agenda

Overview

Architecture

Components

Future Plans

(30)

Connect with lifewww.connectwithlife.co.in

Future Plans

• Advanced troubleshooting

• Automatic problem detection

• Enhanced monitoring and alerting

• Improved dynamic baselining

• Tools suite

(31)

Connect with lifewww.connectwithlife.co.in

Session Summary

Performance Studio concepts

New performance monitoring features in SQL Server 2008

Long-term investment

(32)

Connect with lifewww.connectwithlife.co.in

Visit TechNet at:

www.microsoft.com/technet

For More Information

(33)

Feedback / QnA

Your Feedback is Important!

Please take a few moments to fill out our online feedback form

For detailed feedback, use the form at

http://www.connectwithlife.co.in/vtd/helpdesk.aspx Or email us at [email protected]

Use the Question Manager on

LiveMeeting to ask your questions

now!

(34)

Contact (optional slide)

Blog Address

http://blogs.asthrasoft.com/praveens Email Address

[email protected]

(35)

© 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S.

and/or other countries.

The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after

the date of this presentation.

MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Références

Documents relatifs

Taking advantage of the availability of other data sets of relevance to the parameter under concern, though different, a method is proposed for the synthesis of the initial

In this paper, we present a system which makes scientific data available following the linked open data principle using standards like RDF und URI as well as the popular

In the case of population-based surveys, further standardization of methodologies, indicators and definitions would enable countries to collect more and comparable data sets on

The carrier is a recursive type, the base case is given by the coecient ring and the inductive case uses the distributed polynomials specie.. Suppose given a a ring collection R

Both charts in Figure 4 contain the same data (consumption of water; x-axis time; y-axis consump- tion in cubic meters), but the view on the client application (Figure 4, left)

It is worth mentioning that the results of the first two phases also depend on stored shifts (feedbacks, for the first phase) and at the begging of the work, without

In cases where linking to the top ranked entity returned by SVM-rank based classifier would be incorrect for example, if the entity is not present in the KB, the second classifier

These systems 3 , although utilize mature and efficient relational database management systems (RDBMSs) and exploit a number of their evaluation strategies (e.g., query