Presentation is loading. Please wait.

Presentation is loading. Please wait.

The X-Factor of the Extended Events Amit Khandelwal.

Similar presentations


Presentation on theme: "The X-Factor of the Extended Events Amit Khandelwal."— Presentation transcript:

1 The X-Factor of the Extended Events Amit Khandelwal

2 DISCLAIMER The opinions expressed in this presentation and on the following slides are solely those of the presenter and not necessarily those of Microsoft. Microsoft does not guarantee the accuracy or reliability of the information provided herein.

3 About me: I am currently working as Microsoft SQL Server Support Escalation Engineer. Worked with Beta Teams for SQL Server release and masters SQL Performance, HR-DR technologies and Replication and Engine technologies. Have Authored several internal training materials. Have been speaker at many programs like SQL Server Talks, SQL Server Asia level conference and many others. Current interests in learning and working on SQL Server Azure and other cloud products of Microsoft.

4 Agenda Introduction Understanding the Mumbo jumbo Demos and Troubleshooting tips Extended Events Vs. Profiler Traces

5 INTRODUCTION

6 Introduction Introduced in SQL Server 2008, major over-hauling was done in SQL 2012. Shifting focus from SQL Server Profiler Traces Designed from the ground up with performance as a primary focus A new mechanism for capturing information about events inside the Database Engine A new mechanism for capturing information about events inside the Database Engine

7 THE MUMBO - JUMBO

8 The Jargons PackageEventsActions TargetsPredicates Sessions

9 Extended Events Engine

10 DEMOS AND TROUBLESHOOTING TIPS

11 Let’s DEMO It! The system_health session Default session run in background and captures some vital information to kick start troubleshooting The system_health session Default session run in background and captures some vital information to kick start troubleshooting Hello MSFT, Is my query “Waiting”? Let’s see how you can find wait_types, wait_resources and wait_times for your slow running queries. Hello MSFT, Is my query “Waiting”? Let’s see how you can find wait_types, wait_resources and wait_times for your slow running queries. Oh Gosh! It’s 100% CPU Sneak-peek into quick troubleshooting bytes of identifying high CPU consumers and query plans. Oh Gosh! It’s 100% CPU Sneak-peek into quick troubleshooting bytes of identifying high CPU consumers and query plans.

12 EXTENDED EVENTS VS. PROFILER TRACES

13 Extended events Vs. Profiler traces Significantly less performance overhead than traces The only possibility of tracing new features like FileStream, FileTable, AlwaysOn, ColumnStore, In_Memory OLTP etc. Significantly less performance overhead than traces The only possibility of tracing new features like FileStream, FileTable, AlwaysOn, ColumnStore, In_Memory OLTP etc. Introduction of large number of events as compared to profiler traces. Events and Filters can be adapted live - during active session using Extended Events "Watch Live Data" option. Introduction of large number of events as compared to profiler traces. Events and Filters can be adapted live - during active session using Extended Events "Watch Live Data" option. Easy Automation - can be easily scripted out, easy to do grouping, aggregation, filtering on events etc. Directly integrated in Management Studio, & choice of different targets Easy Automation - can be easily scripted out, easy to do grouping, aggregation, filtering on events etc. Directly integrated in Management Studio, & choice of different targets

14 14

15 References http://blogs.msdn.com/b/psssql/archive/2009/04/30/why-should-i-use- extended-events-in-sql-server-2008.aspx http://blogs.msdn.com/b/extended_events/archive/2010/04/14/introduction- to-extended-events.aspx https://www.sqlskills.com/blogs/jonathan/extended-events-overview/ https://technet.microsoft.com/en-us/library/bb630354(v=sql.105).aspx http://blogs.msdn.com/b/extended_events/archive/2010/04/14/introduction- to-extended-events.aspx http://channel9.msdn.com/posts/SQL11UPD02-REC-08 15

16 Thank you for Attending Tech Unite!!!


Download ppt "The X-Factor of the Extended Events Amit Khandelwal."

Similar presentations


Ads by Google