GV$SESSION_WAIT_HISTORY

2024-04-19 08:42:49  Updated

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 bigint(20) NO The ID of the session.
CON_ID bigint(20) NO The ID of the tenant.
SVR_IP varchar(46) NO The IP address of the server.
SVR_PORT bigint(20) NO The port number of the server.
SEQ# bigint(20) NO The sequence number of the wait event.
EVENT# bigint(20) 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 double NO The wait time of the wait event, in hundredths of a second.
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.

Contact Us