×

#Dataweekender-Virtual Popup Microsoft Data Conference

Date/Time: Saturday, October 17, 2020 11:25 - 11:35 EDT
Location: Virtual

View Event: Extended Event – How to collect the first 10 or every 4th event?

Extended Events offers a rich filtering mechanism, called predicates, that allows you to reduce the number of events you collect by specifying criteria that will be applied during event collection. By evaluating predicates early in the event firing sequence, we can reduce the performance impact of collecting events by stopping event collection when the criteria are not met. You can specify predicates on both event fields and on a special object called a predicate source. Applying predicates on predicate source you can customize your collection and answer the critical questions very quickly.

In this demo session, I will show you how you can collect only the nth number of events. You can also use this trick to stop a collection automatically when you are only looking for if an event is occurring or no?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.



profile for SqlWorldWide on Stack Exchange, a network of free, community-driven Q&A sites

Kubernetes Learning Path

50-days from zero to
hero with Kubernetes

Download eBook

RT: @DCACco: https://bit.ly/3QMQ3UF Are you a speaker in the #SQLServer community? Are you going to the #sqlpass ...summit? Time is running out to register for #SpeakerIdol. If you haven't registered already, get registered ASAP. There are only a few days… https://bit.ly/3Smx9VE

Fun, educational, and full of embarrassing stories! If you can make SQL Saturday Boston, then stop by this session for... laughs, groans, and some useful ways to keep the query optimizer working for you!

#SqlSaturday #SqlSatBoston

@SqlrUs will be talking about "Saving Yourself with Accelerated Database Recovery" at #sqlsatboston

Did you register?
...https://www.eventbrite.com/e/sql-saturday-boston-2022-tickets-380639893167

#sqlsaturday #database #sqlserver #ADR #MVPBuzz

@BryanCafferky will be talking about "Python & SQL Server: A Winning Combination" at #sqlsatboston

Did you ...register?
https://www.eventbrite.com/e/sql-saturday-boston-2022-tickets-380639893167

#sqlsaturday #python #SQLServer

@JohnMiner3 will be talking about "Security your delta lake with table access controls" at #sqlsatboston

Did you ...register?
https://www.eventbrite.com/e/sql-saturday-boston-2022-tickets-380639893167

#sqlsaturday #deltalake #security #encryption #MVPBuzz

Load More...