8
Building XEvent Profiler Traces
In Chapter 7, Building Diagnostic Queries Using DMVs and DMFs, we learned how to gain insights into query performance using the built-in system views. This information is valuable, but because these views mostly represent the current point in time, they are not always sufficient to answer every question we have about the performance of our queries. In this chapter, we will introduce Extended Events (XEvents), the lightweight infrastructure that exposes relevant just-in-time information from every component of the SQL Database Engine, focusing on those related to T-SQL execution. We will explore real-world examples of how to use these XEvents to troubleshoot different poor performance scenarios, leverage collection ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access