V$LATCH

2023-12-08 07:13:36  Updated

Purpose

The V$LATCH view displays information about latches on each OBServer node in the cluster.

Note

This view is introduced since OceanBase Database V1.4.

Columns

Column Type Nullable? Description
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.
ADDR varchar(256) NO At present, the value of this column is NULL.
LATCH# bigint(20) NO The subscript of the class to which the latch belongs.
LEVEL# bigint(20) NO The subscript of the level to which the latch belongs.
NAME varchar(256) NO The name of the latch.
HASH bigint(20) NO At present, the value of this column is 0.
GETS bigint(20) NO The number of successful lock operations.
MISSES bigint(20) NO The number of times that the latch entered the waiting state.
SLEEPS bigint(20) NO The total number of yields.
IMMEDIATE_GETS bigint(20) NO The number of times the try_lock operation succeeded.
IMMEDIATE_MISSES bigint(20) NO The number of times the try_lock operation failed.
SPIN_GETS bigint(20) NO The total number of spins.
WAIT_TIME bigint(20) NO The amount of time spent in waiting for the latch.

Contact Us