Purpose
The GV$SESSION_WAIT_HISTORY view displays the latest 10 wait events of all sessions on all OBServer nodes.
Note
This view is introduced since OceanBase Database V1.4.
Columns
| Column | Type | Nullable? | Description |
|---|---|---|---|
| SID | NUMBER | NO | The ID of the session. |
| CON_ID | NUMBER | NO | The ID of the tenant. |
| SVR_IP | VARCHAR2(46) | NO | The IP address of the server. |
| SVR_PORT | NUMBER(38) | NO | The port number of the server. |
| SEQ# | NUMBER | NO | The sequence number of the wait event. |
| EVENT# | NUMBER | NO | The number of the wait event. |
| EVENT | VARCHAR2(64) | NO | The name of the wait event. |
| P1TEXT | VARCHAR2(64) | NO | The description of the first parameter of the wait event. |
| P1 | NUMBER | NO | The value of the first parameter of the wait event. |
| P2TEXT | VARCHAR2(64) | NO | The description of the second parameter of the wait event. |
| P2 | NUMBER | NO | The value of the second parameter of the wait event. |
| P3TEXT | VARCHAR2(64) | NO | The description of the third parameter of the wait event. |
| P3 | NUMBER | NO | The value of the third parameter of the wait event. |
| WAIT_TIME_MICRO | NUMBER | NO | The wait time of the wait event in microseconds. |
| TIME_SINCE_LAST_WAIT_MICRO | NUMBER | NO | The amount of time in microseconds elapsed from the end of the last wait to the current wait. |
| WAIT_TIME | NUMBER | NO | The wait time of the wait event, in hundredths of a second. |