GV$OB_THREAD

2023-12-08 07:13:36  Updated

Purpose

The GV$OB_THREAD view displays the status information about all threads in the observer process.

Note

This view is introduced since OceanBase Database V4.2.0.

Columns

Column Type Nullable? Description
SVR_IP VARCHAR2(46) NO The IP address of the observer process.
SVR_PORT NUMBER(38) NO The port number of the observer process.
TENANT_ID NUMBER(38) NO The ID of the tenant to which the thread belongs. The value is 500 for a process-level thread.
TID NUMBER(38) NO The ID of the thread.
TNAME VARCHAR2(16) NO The name of the thread.
STATUS VARCHAR2(32) NO The status of the thread. Valid values:
  • Run: indicates that the thread is in the running state.
  • Wait: indicates that the thread is in the waiting state.
  • Sleep: indicates that the thread is in the sleep state.
  • Join: indicates that the thread is waiting for another thread to end.
LATCH_WAIT VARCHAR2(16) NO The address of the latch that the thread is waiting for.
LATCH_HOLD VARCHAR2(256) NO The address of the latch held by the thread. Multiple latches may be held by the thread.
TRACE_ID VARCHAR2(40) NO The ID of the trace that is being executed by the thread.

Contact Us