Overview
gv$session_wait_history displays the latest 10 wait events of all sessions on all OBServers.
Related tables/views
__all_virtual_session_wait_history
Field description
| Field name | 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 of the OBServer. |
| SVR_PORT | BIGINT(20) | No | The port number of the OBServer. |
| SEQ# | varchar(64) | No | The sequence number of the wait event. |
| EVENT# | varchar(64) | No | The number of the wait event. |
| EVENT | varchar(64) | No | The name of the wait event. |
| P1TEXT | varchar(64) | No | The description of the first parameter of the wait event. |
| P1 | BIGINT(20) UNSIGNED | No | The value of the first parameter of the wait event. |
| P2TEXT | varchar(64) | No | The description of the second parameter of the wait event. |
| P2 | BIGINT(20) UNSIGNED | No | The value of the second parameter of the wait event. |
| P3TEXT | varchar(64) | No | The description of the third parameter of the wait event. |
| P3 | BIGINT(20) UNSIGNED | No | The value of the third parameter of the wait event. |
| WAIT_TIME_MICRO | BIGINT(20) | No | The wait time of the wait event in microseconds. |
| TIME_SINCE_LAST_WAIT_MICRO | BIGINT(20) | No | The amount of time in microseconds elapsed from the end of the last wait to the current wait. |
| WAIT_TIME | DOUBLE | No | The wait time of the wait event, in hundredths of a second. |