Course Topics Administering SQL Server 2012 Jump Start 01 | Install and Configure SQL Server04 | Manage Data 02 | Maintain Instances and Databases05 |

Slides:



Advertisements
Similar presentations
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Advertisements

© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Feature: Identity Management - Login © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
© 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Feature: Reprint Outstanding Transactions Report © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product.
Feature: Purchase Requisitions - Requester © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
Brian Alderman | MCT, CEO / Founder of MicroTechPoint Pete Harris | Microsoft Senior Content Publisher.
MIX 09 4/15/ :14 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Matt Masson| Senior Program Manager
Amit Banerjee Support Escalation Engineer Microsoft Corporation SQL Server FAQ: TroubleshootingSQL:
Tuning SQL Server 2012 for SharePoint 2013 Jump Start 01 | Key SQL Server and SharePoint Server Integration Concepts (50 minutes) Dedicated Server or.
05 | Configuration and Deployment Richard Currey | Senior Technical Trainer–New Horizons United George Squillace | Senior Technical Trainer–New Horizons.
Windows 7 Training Microsoft Confidential. Windows ® 7 Compatibility Version Checking.
Connect with life Praveen Srvatsa Director | AsthraSoft Consulting Microsoft Regional Director, Bangalore Microsoft MVP, ASP.NET.
Feature: Purchase Order Prepayments II © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
Nick Scott | Dynamics CRM Consultant with BKD Technologies.
Feature: OLE Notes Migration Utility
Feature: Web Client Keyboard Shortcuts © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
Feature: SmartList Usability Enhancements © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
Session 1.
Built by Developers for Developers…. © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
Feature: Assign an Item to Multiple Sites © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
Inspire and enable transformative user experiences for retrieving and exploring content regardless of location.
Feature: Print Remaining Documents © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
Connect with life Connect with life
Windows Azure Connect Name Title Microsoft Corporation.
Course Topics Administering SQL Server 2012 Jump Start 01 | Install and Configure SQL Server04 | Manage Data 02 | Maintain Instances and Databases05 |
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Nick Scott | Dynamics CRM Consultant with BKD Technologies.
Feature: Customer Combiner and Modifier © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
SQL Server SQL Azure Visual Studio“Quadrant” SQL Server Modeling Services Entity Framework ADO.NET“M”/EDM Data Services …
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
demo Instance AInstance B Read “7” Write “8”

customer.
Under New Management Andrew Fryer Microsoft UK Andrew Fryer Microsoft UK.
03 | Word Templates Brian Meier| Senior Lead Program Manager.
demo © 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
demo Demo.
Cloud Data Dave Campbell Technical Fellow, Microsoft.
Feature: Void Historical/Open Transaction Updates © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product.
demo QueryForeign KeyInstance /sm:body()/x:Order/x:Delivery/y:TrackingId1Z
Feature: Suggested Item Enhancements – Analysis and Assignment © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and.
Windows Azure SQL Data Sync Name Title Microsoft Corporation.
projekt202 © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
Introduction to Microsoft Dynamics GP 2013 Module 2:Basic Elements.
Course Topics Administering SQL Server 2012 Jump Start 01 | Install and Configure SQL Server04 | Manage Data 02 | Maintain Instances and Databases05 |
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks.
Natural Language Querying Using Q&A. Data & Analytics Self-service BI with the familiarity of Office and the power of the cloud.
© 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
04 | Business Analyzer Brian Meier| Senior Lead Program Manager.
Demo Fest of Some Leading Store Apps Module 2.
Connect with life Praveen Srivatsa Founder and CEO – AstraSoft.NET Vinod Kumar Technology Evangelist – Databases and BI.

Microsoft Virtual Academy Talbott Crowell | Chief Architect, ThirdM.com Rob Latino | Program Manager in Office 365 Support, Microsoft.
Microsoft Virtual Academy Jamie McAllister | SharePoint MVP & Solution Architect Rob Latino | Program Manager in Office 365 Support.
6/16/2018 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks.
Office 365 Development.
Title of Presentation 12/2/2018 3:48 PM
Feature: Document Attachment - Flow from Master Records
8/04/2019 9:13 PM © 2006 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Andrew Fryer Microsoft UK
Виктор Хаджийски Катедра “Металургия на желязото и металолеене”
Шитманов Дархан Қаражанұлы Тарих пәнінің
Title of Presentation 5/24/2019 1:26 PM
Making Windows Azure Relevant to IT Professionals
Presentation transcript:

Course Topics Administering SQL Server 2012 Jump Start 01 | Install and Configure SQL Server04 | Manage Data 02 | Maintain Instances and Databases05 | Implement Security 03 | Performance Optimization and Troubleshooting 06 | High Availability Options

03 | Performance Optimization and Troubleshooting George Squillace | Senior Technical Trainer – New Horizons Great Lakes Richard Currey | Senior Technical Trainer – New Horizons United

Module 3 Overview Locking, Blocking, and Deadlocks Profiler Auditing Catalog Views and DMOs Data Collector and the Management Data Warehouse

Topic: Locking, Blocking and Deadlocks

Topic: Locking, Blocking, and Deadlocks What Are Locking, Blocking, and Deadlocks? How Are Locking Problems Discovered and Solved?

What Are Locking, Blocking, and Deadlocks? Resource locking is a data integrity mechanism that restricts access to various objects while under modification and not yet committed –Locking is natural and expected Examples of lockable resources are: –Key values –Rows –Pages –Tables –Files –Databases Blocking occurs when one connection is waiting for other connections to release locked resources –Some blocking is expected –Excessive blocking is undesirable A deadlock occurs when two connections have locked resources that are seeking each other’s locked resources before their respective transactions complete; this results in the termination of one of the connections

How Are Locking Problems Discovered and Solved? Deadlock problems discovered by: –Client error messages –Activity monitor –DMOs –Profiler –Trace flags –Extended EventsExtended Events Deadlock problems are solved by (OK, minimized by): –Order of objects accessed within queries / sprocs –Keeping transactions short –Isolation level –Avoiding user interaction (data browsing) during transactions

DEMO Using Activity Monitor to Detect a Blocked Connection

Topic: Profiler

What Is Tracing? What Is Profiler?

What Is Tracing? Tracing permits the recording of a wide range of SQL Server activity (events within event classes) to files Sampling of event classes and events –Class 1 Event 1 Event 2 –Class 2 Event 3 Event 4 Based on the use of many system stored proceduressystem stored procedures

What Is Profiler? Graphical user interface into the tracing stored procedures The “three legs” of the profiler configuration –Event classes and events –Columns –Filters Integrate Windows Perfmon data with profiler dataIntegrate Simple-Talk eBook on Profiler

DEMO Using Profiler to Capture a Deadlock Graph

Topic: Auditing

C2 and Common Criteria Auditing with Triggers SQL Auditing

C2 and Common Criteria Older methods –C2, sp_Configure with ‘C2 audit mode’ –Common criteria, sp_Configure with ‘common criteria compliance enabled’ Much overhead associated with these methods

Auditing with Triggers DML triggers –Write to a designated audit table on the basis of modifications DDL triggers –EventData() function Login triggers Trigger limitations

SQL Auditing What does this feature provide compared to other types of general auditing methods? Based on extended events feature Terminology Server vs. database What are the configuration steps?

DEMO Configuring SQL Auditing

Topic: Catalog Views and DMOs

Purpose of catalog views and dynamic management objects (DMOs) Classification of DMOs Resources for further exploration

Purpose of Catalog Views and DMOs What is metadata retrieval? Metadata retrieval methods that have been available in the past –GUI—obtain information on one object at a time –System Stored Procs—can’t really customize –System Functions—generally retrieve information one property at a time In more recent versions –Catalog views and DMOs Standard query language clauses –Can customize columns retrieved –Can customize rows retrieved –Can aggregate and order –Can join with multiple catalogs

Classification of DMOs DMO (general classification) sys.dm_ prefix Dynamic management views No input accepted sys.dm_ prefix Dynamic management functions Input accepted and often required sys.dm_ prefix

Resources for Further Exploration Simple Talk eBook by Louis Davidson and Tim FordSimple Talk eBook Tim Ford’s “Periodic Table of Dynamic Management Objects” presentation at PASS SQL Rally – May 2012 The Redgate DMV Starter Pack Quest Poster

DEMO Querying Dynamic Management Objects

Topic: Data Collector and the Management Data Warehouse

Overview of Data Collector Configuring Data Collector Consuming Data Collector Data

Overview of Data Collector Collects capacity planning and performance data over time –Problem: DMO data isn’t persistent –Fact: Troubleshooting is difficult when “normal” hasn’t been established –Solution: Management Data Warehouse (MDW) The MDW is created and configured using two wizards The wizard creates SSIS packages, jobs and schedules to collect performance planning and capacity data –The MDW accommodates multiple servers –Very useful reports available from the MDW database in SSMS

Configuring Data Collector Execute two wizards –Wizard 1: Create the Management Data Warehouse –Wizard 2: Set Up Data Collection Data to be collected Frequency of collection Retention period Specific database roles exist for management –mdw_Admin –mdw_writer –mdw_reader Specific database roles exist for configuration –Dc_admin –Dc_operator –Dc_proxy

Consuming Data Collector Data Reports available in SSMS –Disk usage report –Server activity report –Query statistics report

DEMO Configuring the Management Data Warehouse

©2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Office, Azure, System Center, Dynamics 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.