Skip to main content

Questions tagged [extended-events]

SQL Server Extended Events (Extended Events) is a general event-handling system for server systems.

0 votes
1 answer
72 views

I want to do this, but there doesn't seem to be a supported way to do it. What is a version that would work? CREATE EVENT SESSION [MySession] ON DATABASE ADD EVENT sqlserver.sql_statement_completed( ...
Mark Freeman's user avatar
  • 2,295
0 votes
2 answers
103 views

I want to capture SQL Server queries with a memory grant over 10 GB so those queries and the tables they touch can be tuned to reduce the memory grants. I created an extended events session and a test ...
Lee's user avatar
  • 416
0 votes
1 answer
47 views

according to this acticle: https://www.sqlshack.com/query-trace-column-values/ try to setup XE session which captures query_trace_column_values but it's does not work anymore on Microsoft SQL Server ...
solovyevuv's user avatar
0 votes
0 answers
65 views

I want to create an Extended Events Session to track SQL Server Logins. The value for packet_size is 4096 for all of the SQL Server successful logins that the Login Extended Event has recorded. Is a ...
Generic_DBA_2025's user avatar
0 votes
1 answer
95 views

I'm going round in circles trying to work out how to collect the object_name in extended events, I can use it to filter like in the session definition below CREATE EVENT SESSION [xetest] ON SERVER ...
Stephen Morris - Mo64's user avatar
2 votes
1 answer
114 views

How can I determine the state of an Extended Events session (started or stopped) in Azure SQL Database? The DMV sys.dm_xe_database_sessions doesn't have this information, and none of the other sys....
Mark Freeman's user avatar
  • 2,295
2 votes
1 answer
154 views

Start up the auto_stats Extended Event, filter out some noise, and prepare yourself to monitor it. CREATE EVENT SESSION [AutoStatsTest] ON SERVER ADD EVENT sqlserver.auto_stats( WHERE ([duration]&...
J. Mini's user avatar
  • 1,362
3 votes
1 answer
115 views

It's notoriously impossible to decode what the wait_resource pointer in the System Health Extended Event means. But if all of my long waits in that Extended Event for a certain time period are ...
J. Mini's user avatar
  • 1,362
3 votes
1 answer
189 views

In the docs it says we can share index scans (Advanced Scanning). Now here they used wait stats and statistics and i did not find an extended events session that could directly identify it. The ...
Suleyman Essa's user avatar
0 votes
1 answer
111 views

I have listed the event names present in my system_health extended event report. Based on these groupings, can I decide whether a group needs to be checked or not? Which ones are serious and must be ...
RD Seeker's user avatar
0 votes
0 answers
59 views

I need some advice to convert the XEL file to XML. I am executing a PowerShell script in Azure Automation runbook in Azure portal to store the XEL file from BLOB storage to my local machine, ...
user3276487's user avatar
0 votes
0 answers
115 views

How can I record changes to a database User permissions? I have a SQL Server 2019 database user that loses Select permission overnight, but we do not know why. I want to audit or record those changes....
Conrad Seelye's user avatar
2 votes
1 answer
253 views

The lock_acquired and lock_released events have the resource_0, resource_1, resource_2 properties and their content and meaning depends on the resource_type, but their meaning is not always clear to ...
Alessandro Mortola's user avatar
0 votes
1 answer
188 views

It is my understanding that dynamic SQL is part of a batch. Yet, when I listed for sqlserver.sql_batch_completed as follows CREATE EVENT SESSION [CaptureBatch] ON SERVER ADD EVENT sqlserver....
J. Mini's user avatar
  • 1,362
3 votes
1 answer
146 views

Following is the setup in wizard - where global fields to capture are listed, But why not appearing for selection in Watch Live Data? Is there anything to be done in addition? Adding script of the ...
Meera K's user avatar
  • 81

15 30 50 per page
1
2 3 4 5
16