SlideShare une entreprise Scribd logo
1  sur  16
Extended Events to the Rescue
Guy Glantser
Image courtesy of Boians Cho Joo Young / FreeDigitalPhotos.net
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
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
Image courtesy of Boians Cho Joo Young / FreeDigitalPhotos.net
• What is Extended Events?
• Why Extended Events?
• Use Cases (Demo)
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
It’s a monitoring platform…
Image courtesy of Boians Cho Joo Young / FreeDigitalPhotos.net
Image courtesy of Boians Cho Joo Young / FreeDigitalPhotos.net
Module
Packages
Events Targets Actions Types Predicates Maps
Image courtesy of Boians Cho Joo Young / FreeDigitalPhotos.net
Yes!
Image courtesy of Boians Cho Joo Young / FreeDigitalPhotos.net
Well… yes!
Image courtesy of Boians Cho Joo Young / FreeDigitalPhotos.net
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
?
Image courtesy of Boians Cho Joo Young / FreeDigitalPhotos.net
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…
Image courtesy of Boians Cho Joo Young / FreeDigitalPhotos.net
The best resource – Jonathan Kehayias
https://www.sqlskills.com/blogs/jonathan/category/extended-events/
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
Image courtesy of David Castillo Dominici / FreeDigitalPhotos.net

Contenu connexe

Similaire à Extended events to the rescue

S irg cid_process-ss_pi_brazil
S irg cid_process-ss_pi_brazilS irg cid_process-ss_pi_brazil
S irg cid_process-ss_pi_brazilSSPI Brasil
 
Boomerang Image
Boomerang ImageBoomerang Image
Boomerang Imagebdoyle05
 
Performance Testing Web 2.0 Applications—in an Agile World
Performance Testing Web 2.0 Applications—in an Agile WorldPerformance Testing Web 2.0 Applications—in an Agile World
Performance Testing Web 2.0 Applications—in an Agile WorldTechWell
 
[CB20] LogonTracer v1.5 + Elasticsearch = Real-time AD Log Analysis System by...
[CB20] LogonTracer v1.5 + Elasticsearch = Real-time AD Log Analysis System by...[CB20] LogonTracer v1.5 + Elasticsearch = Real-time AD Log Analysis System by...
[CB20] LogonTracer v1.5 + Elasticsearch = Real-time AD Log Analysis System by...CODE BLUE
 
Data, Interconnectedness & The Internet of Things
Data, Interconnectedness & The Internet of Things Data, Interconnectedness & The Internet of Things
Data, Interconnectedness & The Internet of Things Software AG
 
Data Science Case Studies: The Internet of Things: Implications for the Enter...
Data Science Case Studies: The Internet of Things: Implications for the Enter...Data Science Case Studies: The Internet of Things: Implications for the Enter...
Data Science Case Studies: The Internet of Things: Implications for the Enter...VMware Tanzu
 
Barcelona Digital Festival 28th Nov 2019 - Data Analytics in eSports. UbeatCa...
Barcelona Digital Festival 28th Nov 2019 - Data Analytics in eSports. UbeatCa...Barcelona Digital Festival 28th Nov 2019 - Data Analytics in eSports. UbeatCa...
Barcelona Digital Festival 28th Nov 2019 - Data Analytics in eSports. UbeatCa...CIO Edge
 
ITT 2015 - Kirk Pepperdine - The (not so) Dark Art of Performance Tuning, fro...
ITT 2015 - Kirk Pepperdine - The (not so) Dark Art of Performance Tuning, fro...ITT 2015 - Kirk Pepperdine - The (not so) Dark Art of Performance Tuning, fro...
ITT 2015 - Kirk Pepperdine - The (not so) Dark Art of Performance Tuning, fro...Istanbul Tech Talks
 
Debugging Production Applications in Nomad using Lightrun
Debugging Production Applications in Nomad using LightrunDebugging Production Applications in Nomad using Lightrun
Debugging Production Applications in Nomad using LightrunShaiAlmog1
 
Rundeck Overview
Rundeck OverviewRundeck Overview
Rundeck OverviewRundeck
 
Agile4 com method-uk_v3.675
Agile4 com method-uk_v3.675Agile4 com method-uk_v3.675
Agile4 com method-uk_v3.675all2com
 
Applied Data Science: Building a Beer Recommender | Data Science MD - Oct 2014
Applied Data Science: Building a Beer Recommender | Data Science MD - Oct 2014Applied Data Science: Building a Beer Recommender | Data Science MD - Oct 2014
Applied Data Science: Building a Beer Recommender | Data Science MD - Oct 2014Austin Ogilvie
 
Effective specifications for agile teams
Effective specifications for agile teamsEffective specifications for agile teams
Effective specifications for agile teamsgojkoadzic
 
Mobile App Performance, Firenze
Mobile App Performance, FirenzeMobile App Performance, Firenze
Mobile App Performance, FirenzeDoug Sillars
 
Parisjs fastvideoandimages
Parisjs fastvideoandimagesParisjs fastvideoandimages
Parisjs fastvideoandimagesDoug Sillars
 
Devoxx be fast and beautiful images
Devoxx be fast and beautiful imagesDevoxx be fast and beautiful images
Devoxx be fast and beautiful imagesDoug Sillars
 
Semantic logging with etw and slab from DCC 10/16
Semantic logging with etw and slab from DCC 10/16Semantic logging with etw and slab from DCC 10/16
Semantic logging with etw and slab from DCC 10/16Chris Holwerda
 

Similaire à Extended events to the rescue (20)

S irg cid_process-ss_pi_brazil
S irg cid_process-ss_pi_brazilS irg cid_process-ss_pi_brazil
S irg cid_process-ss_pi_brazil
 
Boomerang Image
Boomerang ImageBoomerang Image
Boomerang Image
 
Performance Testing Web 2.0 Applications—in an Agile World
Performance Testing Web 2.0 Applications—in an Agile WorldPerformance Testing Web 2.0 Applications—in an Agile World
Performance Testing Web 2.0 Applications—in an Agile World
 
[CB20] LogonTracer v1.5 + Elasticsearch = Real-time AD Log Analysis System by...
[CB20] LogonTracer v1.5 + Elasticsearch = Real-time AD Log Analysis System by...[CB20] LogonTracer v1.5 + Elasticsearch = Real-time AD Log Analysis System by...
[CB20] LogonTracer v1.5 + Elasticsearch = Real-time AD Log Analysis System by...
 
Data, Interconnectedness & The Internet of Things
Data, Interconnectedness & The Internet of Things Data, Interconnectedness & The Internet of Things
Data, Interconnectedness & The Internet of Things
 
Data Science Case Studies: The Internet of Things: Implications for the Enter...
Data Science Case Studies: The Internet of Things: Implications for the Enter...Data Science Case Studies: The Internet of Things: Implications for the Enter...
Data Science Case Studies: The Internet of Things: Implications for the Enter...
 
Barcelona Digital Festival 28th Nov 2019 - Data Analytics in eSports. UbeatCa...
Barcelona Digital Festival 28th Nov 2019 - Data Analytics in eSports. UbeatCa...Barcelona Digital Festival 28th Nov 2019 - Data Analytics in eSports. UbeatCa...
Barcelona Digital Festival 28th Nov 2019 - Data Analytics in eSports. UbeatCa...
 
Cologne webperf
Cologne webperfCologne webperf
Cologne webperf
 
ITT 2015 - Kirk Pepperdine - The (not so) Dark Art of Performance Tuning, fro...
ITT 2015 - Kirk Pepperdine - The (not so) Dark Art of Performance Tuning, fro...ITT 2015 - Kirk Pepperdine - The (not so) Dark Art of Performance Tuning, fro...
ITT 2015 - Kirk Pepperdine - The (not so) Dark Art of Performance Tuning, fro...
 
Debugging Production Applications in Nomad using Lightrun
Debugging Production Applications in Nomad using LightrunDebugging Production Applications in Nomad using Lightrun
Debugging Production Applications in Nomad using Lightrun
 
Rundeck Overview
Rundeck OverviewRundeck Overview
Rundeck Overview
 
Agile4 com method-uk_v3.675
Agile4 com method-uk_v3.675Agile4 com method-uk_v3.675
Agile4 com method-uk_v3.675
 
Applied Data Science: Building a Beer Recommender | Data Science MD - Oct 2014
Applied Data Science: Building a Beer Recommender | Data Science MD - Oct 2014Applied Data Science: Building a Beer Recommender | Data Science MD - Oct 2014
Applied Data Science: Building a Beer Recommender | Data Science MD - Oct 2014
 
Effective specifications for agile teams
Effective specifications for agile teamsEffective specifications for agile teams
Effective specifications for agile teams
 
Mobile App Performance, Firenze
Mobile App Performance, FirenzeMobile App Performance, Firenze
Mobile App Performance, Firenze
 
Parisjs fastvideoandimages
Parisjs fastvideoandimagesParisjs fastvideoandimages
Parisjs fastvideoandimages
 
Managing Your It Budget In Tough Times
Managing Your It Budget In Tough TimesManaging Your It Budget In Tough Times
Managing Your It Budget In Tough Times
 
D3 Troubleshooting
D3 TroubleshootingD3 Troubleshooting
D3 Troubleshooting
 
Devoxx be fast and beautiful images
Devoxx be fast and beautiful imagesDevoxx be fast and beautiful images
Devoxx be fast and beautiful images
 
Semantic logging with etw and slab from DCC 10/16
Semantic logging with etw and slab from DCC 10/16Semantic logging with etw and slab from DCC 10/16
Semantic logging with etw and slab from DCC 10/16
 

Extended events to the rescue

  • 1. Extended Events to the Rescue Guy Glantser Image courtesy of Boians Cho Joo Young / FreeDigitalPhotos.net
  • 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. 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. Image courtesy of Boians Cho Joo Young / FreeDigitalPhotos.net • What is Extended Events? • Why Extended Events? • Use Cases (Demo)
  • 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. It’s a monitoring platform… Image courtesy of Boians Cho Joo Young / FreeDigitalPhotos.net
  • 7. Image courtesy of Boians Cho Joo Young / FreeDigitalPhotos.net Module Packages Events Targets Actions Types Predicates Maps
  • 8. Image courtesy of Boians Cho Joo Young / FreeDigitalPhotos.net
  • 9. Yes! Image courtesy of Boians Cho Joo Young / FreeDigitalPhotos.net
  • 10. Well… yes! Image courtesy of Boians Cho Joo Young / FreeDigitalPhotos.net
  • 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. ? Image courtesy of Boians Cho Joo Young / FreeDigitalPhotos.net
  • 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. Image courtesy of Boians Cho Joo Young / FreeDigitalPhotos.net The best resource – Jonathan Kehayias https://www.sqlskills.com/blogs/jonathan/category/extended-events/
  • 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. Image courtesy of David Castillo Dominici / FreeDigitalPhotos.net