|
2 | 2 | description: "sys.dm_xe_sessions (Transact-SQL)" |
3 | 3 | title: "sys.dm_xe_sessions (Transact-SQL)" |
4 | 4 | ms.custom: "" |
5 | | -ms.date: "11/05/2021" |
| 5 | +ms.date: "11/10/2021" |
6 | 6 | ms.prod: sql |
7 | 7 | ms.reviewer: "" |
8 | 8 | ms.technology: system-objects |
@@ -36,18 +36,18 @@ ms.author: wiassaf |
36 | 36 | |large_buffer_size|**bigint**|The large buffer size, in bytes. Is not nullable.| |
37 | 37 | |total_buffer_size|**bigint**|The total size of the memory buffer that is used to store events for the session, in bytes. Is not nullable.| |
38 | 38 | |buffer_policy_flags|**int**|A bitmap that indicates how session event buffers behave when all the buffers are full and a new event is fired. Is not nullable.| |
39 | | -|buffer_policy_desc|**nvarchar(256)**|A description that indicates how session event buffers behave when all the buffers are full and a new event is fired. Is not nullable. buffer_policy_desc can be one of the following:<br /><br /> Drop event<br /><br /> Do not drop events<br /><br /> Drop full buffer<br /><br /> Allocate new buffer| |
| 39 | +|buffer_policy_desc|**nvarchar(256)**|A description that indicates how session event buffers behave when all the buffers are full and a new event is fired. Is not nullable. `buffer_policy_desc` can be one of the following:<br /><br /> Drop event<br />Do not drop events<br />Drop full buffer<br />Allocate new buffer| |
40 | 40 | |flags|**int**|A bitmap that indicates the flags that have been set on the session. Is not nullable.| |
41 | | -|flag_desc|**nvarchar(256)**|A description of the flags set on the session. Is not nullable. `flag_desc` can be any combination of the following:<br /><br /> Flush buffers on close<br /><br /> Dedicated dispatcher<br /><br /> Allow recursive events| |
42 | | -|dropped_event_count|**int**|The number of events that were dropped when the buffers were full. This value is **0** if the buffer policy is "Drop full buffer" or "Do not drop events". Is not nullable.| |
43 | | -|dropped_buffer_count|**int**|The number of buffers that were dropped when the buffers were full. This value is **0** if the buffer policy is set to "Drop event" or "Do not drop events". Is not nullable.| |
44 | | -|blocked_event_fire_time|**int**|The length of time that event firings were blocked when buffers were full. This value is **0** if the buffer policy is "Drop full buffer" or "Drop event". Is not nullable.| |
| 41 | +|flag_desc|**nvarchar(256)**|A description of the flags set on the session. Is not nullable. `flag_desc` can be any combination of the following:<br /><br /> Flush buffers on close<br />Dedicated dispatcher<br />Allow recursive events| |
| 42 | +|dropped_event_count|**int**|The number of events that were dropped when the buffers were full. This value is **0** if `buffer_policy_desc` is "Drop full buffer" or "Do not drop events". Is not nullable.| |
| 43 | +|dropped_buffer_count|**int**|The number of buffers that were dropped when the buffers were full. This value is **0** if `buffer_policy_desc` is set to "Drop event" or "Do not drop events". Is not nullable.| |
| 44 | +|blocked_event_fire_time|**int**|The length of time that event firings were blocked when buffers were full. This value is **0** if `buffer_policy_desc` is "Drop full buffer" or "Drop event". Is not nullable.| |
45 | 45 | |create_time|**datetime**|The time that the session was created. Is not nullable.| |
46 | 46 | |largest_event_dropped_size|**int**|The size of the largest event that did not fit into the session buffer. Is not nullable.| |
47 | | -|session_source|**nvarchar(256)**|**Applies to:** SQL Server 2014 and later. The scope of the session. Is not nullable.<BR><BR>"server" = session scoped to the server, including user sessions.<BR>"internal" = certain internal sessions, such as the sp_server_diagnostics session.<BR>"*database_name*" = for database-scoped sessions.| |
48 | | -|buffer_processed_count|**bigint**|**Applies to:** SQL Server 2017 and later. The number of buffers processed by the session. Is not nullable.| |
49 | | -|buffer_full_count|**bigint**|**Applies to:** SQL Server 2017 and later. The number of buffers that were full when they were processed. Is not nullable.| |
50 | | -|total_bytes_generated|**bigint**|**Applies to:** SQL Server 2017 and later. The number of actual bytes that the extended events session has generated. This information is collected when session is processing buffers. | |
| 47 | +|session_source|**nvarchar(256)**| The scope of the session. Is not nullable. `session_source` can be one of the following:<BR><BR>server = session scoped to the server, including user sessions.<BR>internal = certain internal sessions, such as the sp_server_diagnostics session.<BR>*database_name* = for database-scoped sessions in [!INCLUDE[ssSDSfull](../../includes/sssdsfull-md.md)] only. Currently, this is not exposed.| |
| 48 | +|buffer_processed_count|**bigint**|**Applies to:** SQL Server 2017 and later. The total number of buffers processed by the session. This accumulates from start of session. Is not nullable.| |
| 49 | +|buffer_full_count|**bigint**|**Applies to:** SQL Server 2017 and later. The number of buffers that were full when they were processed. This accumulates from start of session. Is not nullable.| |
| 50 | +|total_bytes_generated|**bigint**|**Applies to:** SQL Server 2017 and later. The number of actual bytes that the extended events session has generated. This information is collected when session is processing buffers. This applies to the file target only. No tracking for other targets. | |
51 | 51 |
|
52 | 52 | ## Permissions |
53 | 53 | Requires VIEW SERVER STATE permission on the server. |
|
0 commit comments