SQL Server Profiler extension (preview)
The SQL Server Profiler extension (preview) provides a simple SQL Server tracing solution similar to SQL Server Management Studio (SSMS) Profiler except built using XEvents. SQL Server Profiler is very easy to use and has good default values for the most common tracing configurations. The UX is optimized for browsing through events and viewing the associated Transact-SQL (T-SQL) text. The SQL Server Profiler for Azure Data Studio also assumes good default values for collecting T-SQL execution activities with an easy to use UX. This extension is currently in preview.
Common SQL Profiler use-cases:
- Stepping through problem queries to find the cause of the problem.
- Finding and diagnosing slow-running queries.
- Capturing the series of Transact-SQL statements that lead to a problem.
- Monitoring the performance of SQL Server to tune workloads.
- Correlating performance counters to diagnose problems.
Install the SQL Server Profiler extension
To open the extensions manager and access the available extensions, select the extensions icon, or select Extensions in the View menu.
Select an available extension to view its details.
Select the extension you want and Install it.
Select Reload to enable the extension (only required the first time you install an extension).
- To start Profiler, first make a connection to a server in the Servers tab.
- After you make a connection, type Alt + P to launch Profiler.
- To start Profiler, type Alt + S. You can now start seeing Extended Events.
- To stop Profiler, type Alt + S. This hotkey is a toggle.
To learn more about Profiler and extended events, see Extended Events.