Extended Events in Action

A Peek in the Future of Tracing
and Troubleshooting
About me






Senior SQL Server DBA at HP
Guest Lecturer at FMI
MCITP: SQL 2008
MCSE: Data Platform
MCSA: Windows Server 2012
 @miro_dd

2 |
Agenda







3 |

General Overview
SQL Server Extended Events - why use it?
What about SQL Profiler
Correlation
Causality Tracking
Use Extended Events to diagnose login failures
General Overview
 What is it actually?

 The ingredients
 XEvents Sessions
 Permissions

4 |
SQL Server Extended Events – why use it?
 Microsoft Roadmap
 Lightweight
 Graphical interface
www.flickr.com/photos/hinkelstone/

5 |
What about SQL Profiler
 Mapping of Event Classes to Events
 SQL Audit should be used for Security Event Class
 Easy migration

6 |
DEMO
Correlation – joining systems together
 Real Problem
 Updated TDS
 Connection ID
 Activity ID
www.flickr.com/photos/76029035@N02/

8 |
Causality Tracking
GUID

Sequence

Parent ID
9 |
DEMO
Key Takeaways
 Efficiency

 Lightweight*
 Usability

11 |
Useful Links
 Extended Events Team Blog:
 http://blogs.msdn.com/b/extended_events/
 Migrating from SQL Trace to Extended Events:
 http://blogs.msdn.com/b/extended_events/archive/20
10/12/10/migrating-from-sql-trace-to-extendedevents.aspx
 Jonathan Kehayias blog:
 http://www.sqlskills.com/blogs/jonathan/category/exte
nded-events/

12 |
13 |
Sponsors

Extended Events in Action