SQL Server 2008: New SQL 2008 Manageability Features
Agenda
o 2 Launch Server Packs (VS 2008, SQL 2008, Server 2008) o 1 Vista Ultimate o 3 TechNet Subscriptions
Resource Governor
o Run-Away Queries o Unpredictable and non-isolated workloads o Inability to prioritize workloads
Resource Governor Components
Differentiating Workloads
o o o o o o o o o
Classify Incoming Connections and route workloads to a specific group Monitor Resource Usage for workloads in a group. Ability to Pool Resources and set pool-specific limits on CPU and memory Ability to associate groups with a specific resource pool Ability to identify and set priorities for workloads Limited to the Database Engine. No SSIS, SSRS, or SSAS No monitoring or pooling across instances Limitations are limited to CPU And Memory. Some short running queries may not be on the CPU long enough to be applied.
Resource Governor Demo
What is Policy Based Management?
Key Concepts
o A facet is a SQL Server object that can be checked against o Table, Database, Server, View, etc. o Boolean based expression that is applied against the facet and attributes of a facet o Contains the Facet and Condition o Also specifies information about behaviors of the Policy such as Evaluation Mode, etc. o o o o On Demand On Change Prevent On Change Log On Schedule
Manage by Policy
Alexey (an enterprise DBA) needs to enforce a corporate standard The names of all stored procedures should start with usp Alexey needs to check for conformance across multiple servers ensure that all new stored procedures comply In an ideal world, Alexey would simply tell the system his intent all stored procedures should start with usp -- and the system would do the rest.
In an ideal world --- and in SQL Server 2008!
PBM in Action
Prevent Out Compliance Scheduled for of Compliance Check Compliance Check
Manage Multiple Servers
Demo: Policy Based Management
Central Management Server
Demo: Central Management Server
Export/Import Policies
o Export: Single Policy o Import: Multiple Policies to Single Server o Export: Multiple Policies o Import: Multiple Policies to Multiple Servers
Data Collector and Management Data Warehouse (MDW)
o The data collector is installed on an instance of SQL Server, running continuously or on a user-defined schedule and collecting different sets of data. The data collector then stores the collected data in a management data warehouse o The management data warehouse is a relational database that contains the data that is collected from a server that is a data collection target. This data is used to generate the reports for the System Data Collection Sets and can also be used to create custom reports.
Data Collector\MDW Architecture
Data Collector\MDW Demo
Closing
o o o o akarcher@[Link] [Link] [Link] [Link]