You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|address|**varbinary(8)**|The memory address of the session. address is unique across the local system. Is not nullable.|
32
-
|name|**nvarchar(256)**|The name of the session. name is unique across the local system. Is not nullable.|
30
+
|address|**varbinary(8)**|The memory address of the session. `address` is unique across the local system. Is not nullable.|
31
+
|name|**nvarchar(256)**|The name of the session. `name` is unique across the local system. Is not nullable.|
33
32
|pending_buffers|**int**|The number of full buffers that are pending processing. Is not nullable.|
34
33
|total_regular_buffers|**int**|The total number of regular buffers that are associated with the session. Is not nullable.<br /><br /> Note: Regular buffers are used most of the time. These buffers are of sufficient size to hold many events. Typically, there will be three or more buffers per session. The number of regular buffers is automatically determined by the server, based on the memory partitioning that is set through the MEMORY_PARTITION_MODE option. The size of the regular buffers is equal to the value of the MAX_MEMORY option (default of 4 MB), divided by the number of buffers. For more information about the MEMORY_PARTITION_MODE and the MAX_MEMORY options, see [CREATE EVENT SESSION (Transact-SQL)](../../t-sql/statements/create-event-session-transact-sql.md).|
35
34
|regular_buffer_size|**bigint**|The regular buffer size, in bytes. Is not nullable.|
@@ -39,17 +38,17 @@ ms.author: wiassaf
39
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.|
40
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|
41
40
|flags|**int**|A bitmap that indicates the flags that have been set on the session. Is not nullable.|
42
-
|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|
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|
43
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.|
44
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.|
45
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.|
46
45
|create_time|**datetime**|The time that the session was created. Is not nullable.|
47
46
|largest_event_dropped_size|**int**|The size of the largest event that did not fit into the session buffer. Is not nullable.|
48
-
|session_source|**nvarchar(256)**|The source of the session. Is not nullable. Introduced in sql server 2014. Valid Values are internal and
49
-
server. The examples of sessions flagged as internals are hkenginexesession and sp_server_diagnostics session. On the other hand, the examples of sessions flagged as servers are system_health and telemetry_xevents |
50
-
|buffer_processed_count|**bigint**|The number of buffers that have been processed. Is not nullable. Introduced in sql server 2017.|
51
-
|buffer_full_count|**bigint**|The number of buffers that are currently full. Is not nullable. Introduced in sql server 2017.|
52
-
|total_bytes_generated|**bigint**|The total number of bytes that has been generated. Is not nullable. Introduced in sql server 2017.|
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. |
51
+
53
52
## Permissions
54
53
Requires VIEW SERVER STATE permission on the server.
0 commit comments