Presentation is loading. Please wait.

Presentation is loading. Please wait.

Andrew Fryer Microsoft UK

Similar presentations


Presentation on theme: "Andrew Fryer Microsoft UK"— Presentation transcript:

1 Andrew Fryer Microsoft UK
11/24/2018 4:42 PM Under New Management Andrew Fryer Microsoft UK © 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.

2 What is Manageability? Control Reliability Automation Predictability
11/24/2018 What is Manageability? Control Reliability Automation Predictability Manageability means many things to many people but here are a few common themes we can all understand. © 2008 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.

3 11/24/2018 SQL Server has always had a rich set of manageability tools
SQL Agent Maintenance Plans Best Practice Analyser Database Tuning Advisor Surface Area Configuration © 2008 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.

4 Why the need to change? 11/24/2018
The ratio of DBA’s to the size and complexity of the data being managed is diminishing: Data volumes are exploding, and good DBA’s are hard to find. In smaller organisations there may well not be a full time DBA In larger organisations there is a lot of pressure to consolidate databases onto a fewer number of servers. So we need to make the management tools more smarter and more powerful and behave like other application servers and windows server © 2008 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.

5

6 SQL Server 2008 Manageability Overview
Monitor Troubleshoot Configure Tune Scale Administration is a continuous cycle of innovation and automation: developers release, administrators enhance administration and add automation – SQL Server 2008 has a range of new tools for Development, deployment & configuration Maintaining the system with proactive administration through visual tools and reports Rich instrumentation to support alert monitoring & tuning without putting a huge extra burden on the server Scalable Administration : Amplifying the impact of your people Audit Report 6

7 Demo Management Studio
Intellisense for T-SQL, but only works for SQL Server 2008 Debug allows you to test your command before they are unleashed and show’s you all the errors not just the first one! Configuration Servers allow SQL to be applied to multiple SQL Servers which can be different versions and editions Management Studio

8 Policy-Based Management
Facets Conditions Policies policy management comprises: Facets. Contain properties that expose options related to an area of policy management. For example, the Surface Area includes properties that relate to specific SQL Server features, such as Database Mail Enabled and CLR Integration Enabled. Conditions. Express the state of a facet. are based on a single facet, and can be used in one or more policies. For example, you could create a condition named Minimal Surface Area in which all of the properties in the Surface Area facet are assigned the value False. Policies. Contain a single condition that is enforced for one or more targets. For example, you could create a policy named Locked Down Server that assigns the Minimal Surface Area condition to the server. Categories. Contain one or more policies. Database owners can subscribe a database to one or more category. For example, you could create a category named Corporate DB Policies that contains a policy to enforce database object naming conventions and another policy to enforce a specific database compatibility level, and subscribe line of business databases to the category. By default, all databases implicitly subscribe to the default category. Additionally, categories can be marked as Active or Inactive at the server or database level, which enables administrators to control policy enforcement. Targets. Are entities, such as servers, databases, logins, tables, or other database objects to which policies are assigned. All targets in a SQL Server instance form a target hierarchy. Within a policy, a target set is defined when a set of filters are applied to the target hierarchy. For example, a target set can include all of the indexes owned by the Production schema. Each facet represents an aspect of SQL Server management in which one or more related configuration options is defined. SQL Server 2008 includes a number of pre-defined facets, which you can use to define policies that enforce specific configuration option values. For example, SQL Server includes the Surface Area facet. You can create conditions to define a desired configuration that is based on the settings in a facet Finally, to define a policy, you simply specify the condition that you want to enforce SQL Server 2008 provides a comprehensive set of facets that you can use to specify configuration settings and rules for your SQL Server 2008 implementation. Some examples of ways in which you can use the provided facets to define policies include: Using the Server facet to enforce specific server configuration settings such as the login authentication mode. Using the Surface Area facet to control which features are enabled, and reduce the surface area of the server. Using the Database facet to enforce specific database settings such as the compatibility level. Using the Multipart Name facet to enforce naming conventions for tables views, and other schema- bound database objects. Using a range of facets to enforce known best practices for your database solution, such as ensuring that data files are stored on a separate drive from log files. Distributing Policies Across the Enterprise You can define policies on a SQL Server instance (known as the configuration server) and then replicate those policies to other servers (known as configuration targets). Any changes made to the policies or the categories on the configuration server (such as marking a particular category as inactive) are automatically propagated to all of the configuration targets, which significantly reduces the overhead that is associated with enforcing configuration policy compliance across the enterprise. In addition to the distribution of policies, you can execute queries against the set of configuration targets by using the Query Editor. Categories Targets

9 Policy Based Management
Demo Policy Management applies to nearly all of the discussions we’ve had so far: You can monitor compliance with it You can use it for troubleshooting The Database Tuning Advisor in SQL server 2008 is a set of policies It allows you to audit any part of a server/database configuration It provides reports And it can easily scale across multiple SQL Servers of whatever version (although with some reduced functionality) Policy Based Management

10 Programmatic Management
Command Line, SQLCmd Server Management Objects (SMO) Powershell SQLCmd Still has it’s place in scripting SMO allows you to write your own tools in .Net Powershell is the new kit on the block Will apply to all Microsoft application platforms Based on .Net Object based Special minishell for SQL

11 Demo Scripting like a bash shell in linux but with .net power Powershell

12 Performance Existing Tools Tune under pressure Plan Guides
11/24/2018 Performance Existing Tools SQL Trace Performance counters Tune under pressure Plan Guides Historical performance collection Compression © 2008 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.

13 Demo Resource Governor
Resource Governor only kicks in when the server is under pressure to fix resources for critical workloads Resource Governor

14 End-to-End System Health Insight Performance Studio
Data providers SQL Trace Performance Counters Transact-SQL Low overhead data collection Management Data Warehouse Centralized data storage Comprehensive reporting SQL Server 2008 provides Performance Studio, which is an integrated framework that you can use to collect, analyze, troubleshoot, and store SQL Server diagnostics information. Performance Studio provides an end-to-end solution for performance monitoring that includes low overhead collection, centralized storage, and analytical reporting of performance data. You can use SQL Server Management Studio to manage collection tasks, such as enabling the data collector, starting a collection set, and viewing system collection set reports as a performance dashboard. You can also use system stored procedures and the Performance Studio application programming interface (API) to build your own performance management utilities based on Performance Studio. Performance Studio provides a unified data collection infrastructure that consists of a data collector in each SQL Server instance you want to monitor. The data collector is flexible and provides the ability to manage the scope of data collection to fit development, test, and production environments. You can easily collect both performance and general diagnostic data with the data collection framework. The data collector infrastructure introduces the following new concepts and definitions: Data Provider. Sources of performance or diagnostic information that can include SQL Trace, performance counters, and Transact-SQL queries (for example, to retrieve data from Distributed Management Views). Collector Type. A logical wrapper that provides the mechanism for collecting the data from the data provider. Collection Item. An instance of a collector type. When you create a collection item, you define the input properties and collection frequency for the item. A collection item cannot exist on its own. Collection Set. The basic unit of data collection. A collection set is a group of collection items that are defined and deployed on a SQL Server instance. Collection sets can run independently of each other. Collection Mode. The manner in which the data in a collection set is collected and stored. The collection mode can be set to cached or non-cached. The collection mode affects the type of jobs and schedules that exist for the collection set. The data collector is extensible and supports the addition of new data providers. When the data collector is configured, a relational database with the default name MDW is created as a management data warehouse in which to store the collected data. This database can reside on the same system as the data collector, or on a separate server. Objects in the management data warehouse are grouped into the following three preconfigured schemas, each of which has a different purpose: The Core schema includes tables and stored procedures for organizing and identifying the collected date. The Snapshot schema includes data tables, views, and other objects to support the data collected from the standard collector types. The Custom_Snapshot schema enables the creation of new data tables to support user-defined collection sets that are created from standard and extended collector types. Performance Studio provides a robust set of preconfigured system collection sets, including Server Activity, Query Statistics and Disk Usage, to help you to quickly analyze your collected data. You usually start your monitoring and troubleshooting with the Server Activity system collection set. A set of reports associated with each system collection set is published in SQL Server Management Studio, and you can use these reports as a performance dashboard to help you to analyze the performance of your database systems.

15 Demo Data Collection

16 Demo Plan Guides allow you to control create and use a query execution plan against a given query to give repeatable performance. Plans can be exported and imported (xml format) Plan Guides

17 Demo Data Compression

18 What happened to my Database?
11/24/2018 What happened to my Database? Change Tracking Change Data Capture Audit Compliance has always been possible in SQL Server to some degree and there are extensive tools in SQL Server 2005 for this, however they can be quite resource hungry and need a lot of DBA intervention before the end user can get at the results to see what is going on. At the heart of SQL server 2008 are XEvents © 2008 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.

19 Audit Feature Comparison
11/24/2018 Audit Feature Comparison Change Tracking Change Data Capture (CDC) Auditing Scope DML Certain DDL Login, Logout DML, Select DDL Permissions (grant, etc.) Change Data Net-changes – a row changed Primary key values only All changes All column values Action Target Success/failure Change Info DML Operation, Columns Updated DML Operation, Columns Updated, Transaction info When Who Change Availability Immediate - inline with DML Later - separate capture process reads the transaction log Extended Events Key Scenarios Sync Applications: one-way or two-way Incremental ETL for data warehouse Auditing / Compliance Editions All editions Enterprise edition only DML – Database Manipulation Language DDL – Database Definition Language ETL – Extract Transform & Load (for populating data warehouses) © 2008 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.

20 File system Audit Server Audit Specification
11/24/2018 File File system Audit Security Event Log Application Event Log 0..1 Server audit specification per Audit object 0..1 DB audit specification per database per Audit object Server Audit Specification Database Audit Components Database Audit Components Database Audit Specification Server Audit Action Server Audit Action Database Audit Action Server Audit Action Database Audit Action Database Audit Action CREATE SERVER AUDIT SPECIFICATION SvrAC TO SERVER AUDIT HIPAA_Audit     ADD (FAILED_LOGIN_GROUP); CREATE DATABASE AUDIT SPECIFICATION AuditAC TO SERVER AUDIT HIPAA_Audit     ADD (SELECT ON Customers BY public) © 2008 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.

21 Demo Audit

22 Demo XEvents

23 Protect your Data Backup Compression Transparent Data Encryption:
11/24/2018 Protect your Data Backup Compression Transparent Data Encryption: SQL Server 2008 SQL Server 2008 has tow new Enterprise Edition features to protect your data... Backup compression means that database not only take up a lot less space, but also backup and restore more quickly (albeit at the expense of slightly more CPU) as Keith Discussed Encryption/decryption occurs at the database Uses Database Encryption Key (DEK) Applications do not need to handle encryption/decryption of data Treat encrypted and unencrypted data in an identical way DEK is encrypted with: Password Service Master Key Hardware Security Module DEK must be decrypted to attach database files or restore a backup This is in addition to the encryption capabilities introduced in SQL Server 2005 for protecting parts of a database which do require application changes to access the data. Client Application Key Encrypted data page © 2008 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.

24 BACKUP COMpression & Transparent Data Encryption
Demo BACKUP COMpression & Transparent Data Encryption

25 XEvents Integrated Lightweight Precise 11/24/2018
SQL Server Extended Events is a general event-handling system for server systems. The Extended Events infrastructure is a lightweight mechanism that supports capturing, filtering and acting upon events generated by the server process. This ability to act upon events allows users to quickly diagnose run time problems by adding contextual data, such as TSQL call stacks or query plan handles, to any event. Events can be captured into several different output types, including Event Tracing for Windows (ETW). When Extended Events are output to ETW, correlation with operating system and database applications are possible, allowing for a more holistic system tracing. The key benefits of XEvents are: • Deep integration with Windows events. Administrators can track a request from the moment they enter SQL Server all the way into the Windows kernel. • Very lightweight eventing mechanism. This makes XEvent the ideal solution for traces on large production systems. • Lowered troubleshooting time with online event aggregation. Using the in memory event consumers allows a user to interrogate SQL Server directly for intelligence about behavior and bottlenecks, as opposed to manually analyzing trace files. • Precision data gathering via the ability to extend the information gathered when an event fires. • User configurable always on event sessions. Users can create an event session to gather data specific to their environment, and have that session start every time SQL Server starts. © 2008 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.

26 11/24/2018 Summary © 2008 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.

27

28 Call to Action Download the trial version
Ask me about Momentum if you want to evaluate SQL Server 2008 in your organisation

29 Resources UK SQL Server 2008 Server Site US SQL Server Site
US SQL Server Site SQL Server White papers SQL Server on TechNet UK SQL Server Community Me

30 © 2008 Microsoft Corporation. All rights reserved
© 2008 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.


Download ppt "Andrew Fryer Microsoft UK"

Similar presentations


Ads by Google