XE_TIMER_EVENT Wait Type in SQL Server

⏳Part of the SQL Server Wait Types Library, every wait type explained.Related deep dive: ASYNC_NETWORK_IO Wait TypeRelated pillar: Performance & Troubleshooting

Is It a Problem?

No. It is a standard benign wait, and Get Wait Statistics filters it out by default.


What It Means

Microsoft lists it as internal use only. It is a thread waiting for an event dispatch timer to expire, as part of the MAX_DISPATCH_LATENCY setting for a session’s asynchronous target, which defaults to 30 seconds (CREATE EVENT SESSION). The system_health session runs everywhere, so every instance accumulates it.


When It Does Matter

It does not. Extended Events overhead is about the sessions: which events they capture and whether their targets keep up. sys.dm_xe_sessions shows dropped events:

SELECT name, dropped_event_count, dropped_buffer_count, total_buffer_size, buffer_policy_desc
FROM sys.dm_xe_sessions
ORDER BY dropped_event_count DESC;

The baseline to monitor is dropped_event_count staying at 0.


The XE Family

These are the Extended Events background waits, and nearly all of them are commonly filtered as benign. If one is near the top of your waits, start from the waits that usually matter instead.

  • XE_DISPATCHER_WAITDispatcher idle. Background threads waiting for event buffers to deliver.Usually noise
  • XE_TIMER_EVENTDispatch timer. Counting down to the next dispatch, MAX_DISPATCH_LATENCY being 30 seconds by default.Usually noise. This page.
  • XE_BUFFERMGR_ALLPROCESSED_EVENTBuffer flush. Session buffers being flushed to their targets on a background thread.Usually noise
  • XE_FILE_TARGET_TVFFile target read. A query reading an event file with sys.fn_xe_file_target_read_file.Usually noise
  • XE_LIVE_TARGET_TVFLive data stream. Streaming a live target, most often Watch Live Data in SSMS.Usually noise
  • XE_TIMER_MUTEXTimer list. Brief access to the structure holding the XE timers.Usually noise

Where To Go Next

XE_TIMER_EVENT is background noise on a healthy instance. If you are chasing a real problem, start with the waits that cost you time.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *