ALTER EVENT SESSION
changes event session (no row flow)
What changes
- Input
- catalog
- Output or change
- catalog: event session
Syntax at a glance
ALTER EVENT SESSION event_session_name ON { SERVER | DATABASE } { [ [ { <add_drop_event> [ , ...n ] } | { <add_drop_event_target> [ , ...n ] } ] [ WITH ( <event_session_options> [ , ...n ] ) ] ] | [ STATE = { START | STOP } ] }
Work example
An Extended Events session needs a narrower event, predicate, or storage limit.
Compare event volume and target retention with the incident question before changing the session.
Check your work A synthetic event is captured and the target remains within its configured size.
Open Microsoft Learn for full syntax, permissions, and details for your version.