Presentation is loading. Please wait.

Presentation is loading. Please wait.

Clifford Dibble Program Manager Microsoft Corporation SESSION CODE: DAT208.

Similar presentations


Presentation on theme: "Clifford Dibble Program Manager Microsoft Corporation SESSION CODE: DAT208."— Presentation transcript:

1 Clifford Dibble (cdibble@microsoft.com) Program Manager Microsoft Corporation SESSION CODE: DAT208

2 In this session, learn how to use tools like Utility Control Point, Data Collector, Policy-Based Management, and PowerShell to detect and prevent problems in multi-instance SQL Server 2008 R2 environments.

3 Utility Control Point and Managed Instance (Ent. & D.C. Ed. Only) SQL Management Pack (update available H2CY10) Data Collector, Management Data Warehouse, Performance Reports Activity Monitor Policy-Based Management Graphical Showplan SQL Profiler Dynamic Management Views XEventsXEvents New in R2 Database Engine Tuning Advisor (Ent. Ed. Only) Today’s Talk Update in R2 Today’s Talk Plus PowerShell

4 How can you proactively detect troubled instances? What tools can help prevent trouble from occurring? How can you automate management of so many SQL instances? How can you proactively detect troubled instances? What tools can help prevent trouble from occurring? How can you automate management of so many SQL instances?

5 How can you proactively detect troubled databases? What tools can help prevent trouble from occurring? How can you automate management of so many databases? How can you proactively detect troubled databases? What tools can help prevent trouble from occurring? How can you automate management of so many databases?

6 Farm Instance Database

7

8 Automate Prevent Detect SQL Instance SQL Farm SQL Databases PBM PowerShell PBM PowerShell PBM UCP DC PBM UCP DC PBM UCP DC PBM UCP DC PBM PowerShell PBM PowerShell PBM PowerShell PBM PowerShell PBM UCP DC PBM UCP DC

9

10 DBA SQL Server Management Studio Managed Instances SQL01 SQL02 SQL03 SQL04 SQL05 UCP Central collection point for resource utilization metrics Central point for policy evaluation Central view over managed instances

11

12 Dimensions Measures ComputerComputer VolumeVolume DACDAC ServerServer DatabaseDatabase FilegroupFilegroup DataFileDataFile LogFileLogFile CPU Utilization Disk Space Utilization

13 Filegroup1 Filegroup2 File1 File2 File3 File4 data-tier app 1 1 1 1 2 2 3 3

14 Dashboard List View Detail View 123

15 CPU Utilization Storage Utilization

16

17 All except SQL03 CPU over-utilization threshold = 80% Instance CPU over- utilization threshold = 70% SQL01 SQL02 SQL03 SQL100 SQL03 CPU over-utilization threshold = 90% Managed instances SQL01..SQL100 CPU over-utilization threshold = 70%

18 InstanceInstance DACDAC Threshold = 70% Window = 6 hrs Frequency = 50% Threshold = 10% Window = 24 hrs Frequency = 90%

19 Example of “Detect / Farm”

20 Dashboard Policy Health State Visualization Resource Utilization Metrics Visualization UCP Global Level Instance Level Database (“Data-Tier Application”) Level Polices See trends See outliers Drill down from high-level to low-level Insight

21

22 Data Collection UI (Object Explorer) Data Collection UI (Object Explorer) Data Collection Configuration Collection Set Reports Management Data Warehouse (sysutility_mdw) Management Data Warehouse (sysutility_mdw) Target Data Collector Collection Sets Target Data Collector Collection Sets

23

24 Time line Navigation control Resource usage

25 Drill down

26 Detailed diagnostics

27 Example of “Detect / Instance”

28 System & User-Defined Collections Collect query activity, perf counters, SQL Trace, query output DC working alongside UCP DC Central Repository History and baselining MDW Centralized Reporting See history and trends See outliers Starting from overview, drill down to deep details Insight

29

30 Boolean expression over facet properties or scalar-valued queries Boolean expression over facet properties or scalar-valued queries Defines the evaluation mode, target filters, and schedule of the conditions Set of related logical properties Facet Condition Policy TSQL Scalar-valued query WQL Objects to which policy is applied Objects to which policy is applied Related policies Related policies Category Target Set Filter

31 On Demand Evaluate a policy when specified by user Available through SSMS & Windows PowerShell™ Option to force certain conditions to comply with policy Supports down-level evaluation (depends on properties exposed) On Schedule SQL Server Agent job periodically evaluates a policy On Change: Prevent DDL triggers prevent policy violations On Change: Log Only Event notification evaluates a policy when a relevant change is made Evaluation modes

32

33 Example of “Prevent, Automate / Database”

34 System Policies User-defined Policies Policy Categories / Groups Central Management Servers together with UCP PBM Insight - see outliers Prevent, Detect, Automate Capabilities

35

36

37

38 Example of “Automate across all levels”

39 Launch from Object Explorer Script-based access to object models PS, SQLPS Run a query across all databases Ad-hoc or on schedule Much more … Capabilities

40 UCP – Insight into resource utilization over many managed instances and databases, see history and trends DC – Detailed insight at the instance level, see history and trends PBM – Check and enforce consistency at all levels, see policy violations PowerShell – Automate solutions across all levels UCP and DC and CMS all running together

41 41 ResourceUCPManaged Instance Disk space~ 2 GB per year per managed instance. Negligible Disk IO8x 10k RPM spindles RAID-10.*Negligible CPU4x 2.5 GHz Intel Xeon or equivalent CPU capacity.* ~ 4% utilization overhead on 2x 2.5GHz Intel Xeon

42

43

44

45

46

47 Required Slide Track PMs will supply the content for this slide, which will be inserted during the final scrub.

48 www.microsoft.com/teched www.microsoft.com/learning http://microsoft.com/technet http://microsoft.com/msdn

49

50 Sign up for Tech·Ed 2011 and save $500 starting June 8 – June 31 st http://northamerica.msteched.com/registration You can also register at the North America 2011 kiosk located at registration Join us in Atlanta next year

51

52


Download ppt "Clifford Dibble Program Manager Microsoft Corporation SESSION CODE: DAT208."

Similar presentations


Ads by Google