troubleshooting sql server com extended events [ex] · 4 considerações extended events introduced...

17
Troubleshooting SQL Server com Extended Events [EX]

Upload: tranthien

Post on 04-Jul-2018

248 views

Category:

Documents


0 download

TRANSCRIPT

Troubleshooting SQL Server

com Extended Events [EX]

2

Sr. Database Consultant at Pythian

CEO & Founder of One Way Solution

Sr.Nimbus Consultant

Resulta.DO Consultant

MCT | MCSE Data Platform & BI

Microsoft MVP - SQL Server – 2013 | 2014

In-Memory & Security Specialist

… @luansql

luanmorenodba.wordpress.com

3

Agenda

Considerações

Key Points

Architecture

Troubleshooting

4

Considerações

Extended Events Introduced in SQL Server 2008

Improved in SQL Server 2012

SQL Trace Deprecated in SQL Server 2012

SQL Profiler Deprecated in SQL Server 2012

5

Key Points

What ?

Why ?

How ?

6

What ?

Key Points

7

Light Weight Monitoring & Scalable System

Advanced Event Collection

Perform Performance Troubleshooting

What ?

8

Why ?

Key Points

9

Replace SQL Trace

FasterSQL 2014 – 872

Why ?

10

How ?

Key Points

11

SQL 2008 | 2012 | 2014

Graphical UI – New Session Or New Session

Wizard

Templates

T-SQL

How ?

12

Extended Event Architecture

Module

Package

Event

Keyword

Binary Files

Modules

Activity

WHO ?

Type Data

Captured

Channel Action Predicate

Filter

Target

WHERE ?

Event

Session

Create/

Start

DEMO I - Extended

Events Architecture

Overview

14

Troubleshooting [Extended Events]

Deadlock Problem

Lock & Block

Long Running Queries

Page Split

Wait Stats

Lock Escalation

TempDB Latch

Contention

Deprecated Features

DEMO II –

Troubleshooting

Extended Events

Questions ?

Thank You for Attending

[email protected]