v$latch

2023-10-24 09:23:03  Updated

Purpose

v$latch displays information about the latches on all OBServer nodes in the cluster.

oceanbase.__all_virtual_latch

Fields

Field Type Nullable? Description
CON_ID bigint(20) NO The ID of the tenant.
SVR_IP varchar(32) NO The IP address.
SVR_PORT bigint(20) NO The port number.
ADDR varchar(256) NO At present, the value of this field 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 field is 0.
GETS bigint(20) NO The number of successful lockings.
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 on waiting for the latch.

Contact Us