DC 4
DC 4
Avoid
using this feature in new development work, and plan to modify applications that
currently use this feature.
Use Extended Events instead. For more information on Extended Events, see Quick
Start: Extended events in SQL Server and SSMS XEvent Profiler.
Extended events is a lightweight performance monitoring system that enables users
to collect data needed to monitor and troubleshoot problems in SQL Server. See
Extended events overview to learn more about the extended events architecture. This
article aims to help the SQL developer who is new to extended events, and who wants
create an event session in just a few minutes. By using extended events, you can
see details about the inner operations of the SQL system and your application. When
you create an extended event session, you tell the system:
Uses screenshots to illustrate the clicks in SSMS.exe that create an event session.
Correlates the screenshots to equivalent Transact-SQL statements.
Explains in detail the terms and concepts behind the clicks and T-SQL for event
sessions.
Demonstrates how to test your event session.
Describes the alternatives around results:
Storage capture of results.
Processed versus raw results.
Tools for viewing the results in different ways and on different time scales.
Shows how you can search for and discover all the available events.
Provides the primary key and foreign key relationships that are implicit among the
dynamic management views (DMVs) for extended events.