Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Extended events to the rescue

571 views

Published on

  • Be the first to comment

  • Be the first to like this

Extended events to the rescue

  1. 1. Extended Events to the Rescue Guy Glantser Image courtesy of Boians Cho Joo Young / FreeDigitalPhotos.net
  2. 2. Copyright © 2015 Madeira Ltd All Rights Reserved Full rights, including copyrights, belong exclusively to Madeira Ltd No use of the materials, in any form, is allowed, unless receiving a prior written permission from Madeira Ltd
  3. 3. Name: Guy Glantser Email Address: guy@madeira.co.il Twitter: @guy_glantser Blog: www.madeirasql.com/author/guyglantser Podcast: www.sqlserverradio.com Image courtesy of Mister GC / FreeDigitalPhotos.net
  4. 4. Image courtesy of Boians Cho Joo Young / FreeDigitalPhotos.net • What is Extended Events? • Why Extended Events? • Use Cases (Demo)
  5. 5. Extended Events is a general event- handling system for server systems. It has a highly scalable and highly configurable architecture that allows users to collect as much or as little information as is necessary to troubleshoot or identify a performance problem. Image courtesy of Boians Cho Joo Young / FreeDigitalPhotos.net
  6. 6. It’s a monitoring platform… Image courtesy of Boians Cho Joo Young / FreeDigitalPhotos.net
  7. 7. Image courtesy of Boians Cho Joo Young / FreeDigitalPhotos.net Module Packages Events Targets Actions Types Predicates Maps
  8. 8. Image courtesy of Boians Cho Joo Young / FreeDigitalPhotos.net
  9. 9. Yes! Image courtesy of Boians Cho Joo Young / FreeDigitalPhotos.net
  10. 10. Well… yes! Image courtesy of Boians Cho Joo Young / FreeDigitalPhotos.net
  11. 11. Image courtesy of Boians Cho Joo Young / FreeDigitalPhotos.net Test Batch Requests / Sec Batch Duration Baseline 2345 00:13:35 Extended Events Event File 2102 (-10%) 00:15:15 Extended Events Ring Buffer 2073 (-12%) 00:15:40 Trace File 1920 (-18%) 00:16:40 Profiler (Remote) 260 (-89%) 02:03:20 Profiler (Local) 215 (-91%) 02:29:00 Source: http://sqlperformance.com/2012/10/sql-trace/observer-overhead-trace-extended-events
  12. 12. ? Image courtesy of Boians Cho Joo Young / FreeDigitalPhotos.net
  13. 13. Image courtesy of Boians Cho Joo Young / FreeDigitalPhotos.net • Extended Events is the new kid in town • It has less impact on performance • It offers multiple targets • It has many configuration options • It has GUI in SSMS • You need to get used to it…
  14. 14. Image courtesy of Boians Cho Joo Young / FreeDigitalPhotos.net The best resource – Jonathan Kehayias https://www.sqlskills.com/blogs/jonathan/category/extended-events/
  15. 15. Image courtesy of Nuttapong / FreeDigitalPhotos.net Name: Guy Glantser Email Address: guy@madeira.co.il Twitter: @guy_glantser Blog: www.madeirasql.com/author/guyglantser Podcast: www.sqlserverradio.com
  16. 16. Image courtesy of David Castillo Dominici / FreeDigitalPhotos.net

×