XE_BUFFERMGR_ALLPROCESSED_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 not reported as a contention point, and Get Wait Statistics filters it out by default. On our SQL Server 2025 lab it had about 1,300 waits and a few seconds in total over a day.


What It Means

Microsoft describes it as occurring when Extended Events session buffers are flushed to targets, on a background thread. Two examples: flushing a session’s buffered events just before a change to that session is committed, and flushing every session while the instance shuts down. So it follows session changes and shutdowns more than anything continuous.


When It Does Matter

The wait itself does not need fixing. If Extended Events delivery is struggling, the evidence is in sys.dm_xe_sessions:

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. A session that drops events needs tighter predicates, fewer events or a faster target; Get Active XE Sessions lists what each session collects.


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
  • XE_BUFFERMGR_ALLPROCESSED_EVENTBuffer flush. Session buffers being flushed to their targets on a background thread.Usually noise. This page.
  • 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_BUFFERMGR_ALLPROCESSED_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 *