| title | Use the SSMS XEvent Profiler | ||||
|---|---|---|---|---|---|
| description | The XEvent Profiler displays a live viewer of extended events. Learn why to use this profiler, key features, and how to get started viewing extended events. | ||||
| author | erinstellato-ms | ||||
| ms.author | erinstellato | ||||
| ms.reviewer | mikeray | ||||
| ms.date | 10/02/2016 | ||||
| ms.service | sql | ||||
| ms.subservice | xevents | ||||
| ms.topic | tutorial | ||||
| helpviewer_keywords |
|
||||
| monikerRange | >=sql-server-2016||>=sql-server-linux-2017 |
[!INCLUDE SQL Server]
The XEvent Profiler is a SQL Server Management Studio (SSMS) feature that displays a live viewer window of Extended Events. This overview describes the reasons for using this profiler, key features, and instructions to get started viewing Extended Events.
Unlike SQL Profiler, XEvent profiler is directly integrated into SSMS and is built on top of the scalable Extended Events technology in the SQL engine. This feature enables quick access to a live streaming view of diagnostics events on the SQL Server. This view can be customized and those customizations can be shared with other SSMS users as a .viewsettings file. The session created by XE Profiler is less intrusive to the running SQL Server than a similar SQL trace would be when using SQL Profiler. This session can be customized by the user as well, using the existing XE session properties UI or by Transact-SQL.
This feature is only available on SQL Server Management Studio (SSMS) v17.3 or later. Install the latest version of SQL Server Management Studio (SSMS).
To access the XEvent Profiler, follow these steps:
-
Open SQL Server Management Studio.
-
Connect to an instance of the SQL Server Database Engine or localhost.
-
In Object Explorer, find the XE Profiler menu item and expand it by clicking the '+' sign.
-
Double-click Standard if you want to view all events in this session. Click T-SQL if you want to view the logged SQL statements. If a session is not already created, a session is created for you.
-
You can now view events captured by the session.


