Purpose
gv$session_event displays the session-level waiting events of all OBServer nodes in the cluster.
Related tables/views
oceanbase.__all_virtual_session_event
Fields
| Field | Type | Nullable? | Description |
|---|---|---|---|
| SID | bigint(20) | NO | The ID of the session. |
| CON_ID | bigint(20) | NO | The ID of the tenant. |
| SVR_IP | varchar(32) | NO | The IP address. |
| SVR_PORT | bigint(20) | NO | The port number. |
| EVENT_ID | bigint(20) | NO | The ID of the wait event. |
| EVENT | varchar(64) | NO | The description of the wait event. |
| WAIT_CLASS_ID | bigint(20) | NO | The ID of the class to which the wait event belongs. |
| WAIT_CLASS# | bigint(20) | NO | The subscript of the class to which the wait event belongs. |
| WAIT_CLASS | varchar(64) | NO | The name of the class to which the wait event belongs. |
| TOTAL_WAITS | bigint(20) | NO | The total number of waits for the event. |
| TOTAL_TIMEOUTS | bigint(20) | NO | The total number of wait timeouts for the event. |
| TIME_WAITED | double | NO | The total wait time of the wait event, in hundredths of a second. |
| MAX_WAIT | double | NO | The maximum wait time of the wait event, in hundredths of a second. |
| AVERAGE_WAIT | double | NO | The average wait time of the wait event, in hundredths of a second. |
| TIME_WAITED_MICRO | bigint(20) | NO | The total wait time for the event in microseconds. |