Skip to main content

Questions tagged [extended-events]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
69 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
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
1 answer
93 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
153 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,322
3 votes
1 answer
187 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
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
2 votes
1 answer
247 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
3 votes
1 answer
143 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
1 vote
1 answer
216 views

We have created an Extended Events session to capture errors with severity 16 or higher: CREATE EVENT SESSION [Error_Reporting] ON SERVER ADD EVENT sqlserver.error_reported( ACTION(sqlserver....
Aleksey Vitsko's user avatar
0 votes
1 answer
127 views

We've decided to test and perhaps implement the new query_abort extended events trace on all our database servers to learn more about our timeout queries. Currently, we use the rpc_completed event ...
Mickael's user avatar
  • 325
4 votes
1 answer
1k views

I have a process which starts and stops Extended Event sessions in order to transfer data from event files into SQL tables. On a SQL Server 2022 RTM server, I see many lines written to the log files ...
Joe Obbish's user avatar
  • 33.2k
0 votes
0 answers
281 views

I wanna use traceflag 15097 and benefit from AVX-512 on SQL Server 2022. I saw some videos where they demonstrated the feature, however I didn’t find out how to use the extended events to monitor ...
nojetlag's user avatar
  • 2,927
1 vote
2 answers
147 views

In SQL Server Extended Events, is there any way of linking a "starting" event, such as rpc_starting, with a "completed" event, such as rpc_completed? For example, is there ...
Simon Elms's user avatar
1 vote
2 answers
749 views

I have an extended event session set up to track Attention events, to monitor procedures that timed out. This is the create script: CREATE EVENT SESSION [ApplicationTimeout3] ON SERVER ADD EVENT ...
Sylvia's user avatar
  • 223
-2 votes
1 answer
120 views

We have query which is inserting data to heap: INSERT INTO [heap] ( 80 COLUMNS... ) SELECT 14 columns 65 NULL VALUES , '...
adam.g's user avatar
  • 487
0 votes
2 answers
570 views

I'm trying to find a way to track a table that has auto update statistics on, I'm trying to track how often it auto updates and at what intervals. The table in question is used quite often and because ...
Golosie Emanuel's user avatar
0 votes
0 answers
43 views

I have a problem with one PowerBI dashboard and I would like to ask for your advise if my logic is correct. We are migrating a few databases from one server (Server1) to the another one (Server2). At ...
Radek Gąska's user avatar
2 votes
3 answers
926 views

Good morning all - I have a monitoring software that is showing one of my audit triggers is firing 1+ million times an hour, when I look at the audit tables there are about 3000 records entered - The ...
user1910240's user avatar
0 votes
1 answer
64 views

I'm querying SQL Server extended event meta data and I noticed that there are two sets of sources: sys.server_event_* and sys.dm_xe_*. What are the differences between these two sources? Which one ...
Fajela Tajkiya's user avatar
15 votes
2 answers
907 views

According to the documentation the returned column timestamp_utc should be of type datetime2(7) But when I query like this SELECT * FROM sys.fn_xe_file_target_read_file('system_health*.xel', null,...
Zikato's user avatar
  • 5,724
0 votes
1 answer
212 views

We have a table that has a trigger defined on it Sometimes, some application runs disable trigger command, then does something, then runs enable trigger to enable it back Scanning the GIT, developers ...
Aleksey Vitsko's user avatar
6 votes
1 answer
2k views

Is there a way to identify what type/name of resource that is being waited on?
JieLong's user avatar
  • 315
0 votes
0 answers
53 views

I know that SQL Server and Azure SQL support "Extended Events" as a means of profiling execution. I also know that MS Dynamics 365 is built with Azure SQL. What I'd like to accomplish is ...
Brent Arias's user avatar
2 votes
1 answer
350 views

I'm currently using extended events to capture query statements executed in a production environment. But the actual session is also capturing the activity of 'query parsing' done by operators to ...
MBuschi's user avatar
  • 5,171
-2 votes
1 answer
244 views

We have created an extended event to capture long running queries , the objective is to get execution plan by joining on plan handle column some event data has a plan handle with id value however some ...
chandan kumar's user avatar

1
2 3 4 5