Purpose
v$session_wait displays detailed information about the current wait events in each session. Each wait event has three parameters.
Related tables/views
gv$session_wait
Fields
| Field | Type | Nullable? | Description |
|---|---|---|---|
| SID | bigint(20) | NO | The ID of the session. |
| CON_ID | bigint(20) | NO | The ID of the tenant. |
| EVENT | varchar(64) | NO | The description of the wait event. |
| P1TEXT | varchar(64) | NO | The name 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 name 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 name of the third parameter of the wait event. |
| P3 | bigint(20) unsigned | NO | The value of the third parameter 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. |
| STATE | varchar(19) | NO | The state of the wait event. |
| WAIT_TIME_MICRO | bigint(20) | NO | The wait time of the wait event in microseconds. |
| TIME_REMAINING_MICRO | bigint(20) | NO | The time remaining in microseconds before the wait event times out. |
| TIME_SINCE_LAST_WAIT_MICRO | bigint(20) | NO | The amount of time in microseconds elapsed from the last wait to the current wait. |