V$LATCH_CHILDREN视图
admin
2023-05-10 17:22:08
0

http://docs.oracle.com/database/121/REFRN/refrn30109.htm

V$LATCH_CHILDREN

V$LATCH_CHILDREN displays statistics about child latches. This view includes all columns of V$LATCH plus the CHILD# column. Note that child latches have the same parent if their LATCH# columns match each other.

ColumnDatatypeDescription
ADDRRAW(4 | 8)Address of the latch object
LATCH#NUMBERLatch number of the parent latch
CHILD#NUMBERChild latch number (unique only to each parent latch)
LEVEL#NUMBERLatch level
NAMEVARCHAR2(64)Latch name
HASHNUMBERLatch hash
GETSNUMBERNumber of times the latch was requested in willing-to-wait mode
MISSESNUMBERNumber of times the latch was requested in willing-to-wait mode and the requester had to wait
SLEEPSNUMBERNumber of times a willing-to-wait latch request resulted in a session sleeping while waiting for the latch
IMMEDIATE_GETSNUMBERNumber of times a latch was requested in no-wait mode
IMMEDIATE_MISSESNUMBERNumber of times a no-wait latch request did not succeed (that is, missed)
WAITERS_WOKENNUMBERThis column has been deprecated and is present only for compatibility with previous releases of Oracle. No data is accumulated for this column; it will always have a value of zero.
WAITS_HOLDING_LATCHNUMBERThis column has been deprecated and is present only for compatibility with previous releases of Oracle. No data is accumulated for this column; it will always have a value of zero.
SPIN_GETSNUMBERWilling-to-wait latch requests which missed the first try but succeeded while spinning
SLEEP[1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11]NUMBERThese columns have been deprecated and are present only for compatibility with previous releases of Oracle. No data is accumulated for these columns; they will always have a value of zero. As a substitute for these columns you can query the appropriate rows of the V$EVENT_HISTOGRAM view where the EVENT column has a value of latch free or latch:%.
WAIT_TIMENUMBERElapsed time spent waiting for the latch (in microseconds)
CON_IDNUMBERThe ID of the container to which the data pertains. Possible values include:
  • 0: This value is used for rows containing data that pertain to the entire CDB. This value is also used for rows in non-CDBs.

  • 1: This value is used for rows containing data that pertain to only the root

  • n: Where n is the applicable container ID for the rows containing data

ADDR: latch对象的物理地址。

LATCH#:子latch的父latch号。

CHILD#:子latch号,对于每一个父latch,子latch都是唯一的。

LEVEL#:latch级别。

NAME:latch名称。

HASH:latch哈希值。

GETS:在Willing-to-waits模式下请求latch次数。

MISSES在Willing-to-waits模式下发生等待时请求latch次数。

SLEEPS:当发生latch等待导致session休眠时请求latch的次数。

IMMEDIATE_GETS:no-wait模式下请求latch次数。

IMMEDIATE_MISSES:请求no-wait latch失败的次数。

WAITERS_WOKEN:该列已经被当前版本弃用,保留是为了向前兼容。

WAITS_HOLDING_LATCH该列已经被当前版本弃用,保留是为了向前兼容。

SPIN_GETS:当spinning时,最终成功请求Willing-to-wait latch次数

WAIT_TIME:latch等待消耗的时间(以微秒计算)。

CON_ID:表明数据的从属关系,0 表示那些行属于CDB的数据,1 表示仅属于root,n 表示适用的container ID。

 

相关内容

热门资讯

动物园老虎走路颤颤巍巍,园方回... 5月13日,一位网友称在山东德州“泉城欧乐堡”虎餐厅,关注到现场老虎身体发黑,其中一只颤颤巍巍、走路...
热水器40升可以洗多久 一般来说40升的热水器可以洗20-40分钟左右的时间,有差距是因为每个人洗澡时对水的温度要求不同,比...
2020年流行什么样的壁布 2020年最流行的是田园风格的壁布,因为体验风格的壁布适合大部分的装修风格,不管你家里是中式装修还是...
热水器50升和60升哪个实用 1、一般三口之家使用的是50升的,但是机器在加热过程中也会消耗一部分水,所以选60升的也可以。2、以...
煤气热水器不恒温怎么办 煤气热水器不恒温是很常见的问题,会给我们的生活带来很大的不便。这种情况的出现可能是由于多种因素引起的...
恒温热水器没有温度怎么办 如果您的恒温热水器没有温度,那么这可能是一个很大的问题,因为您无法使用这个热水器来满足您的热水需求。...
沈伯洋不认“抗中保台”?徐巧芯... 海峡导报综合报道 民进党13日正式征召民进党民代沈伯洋参选台北市长,蓝绿对决态势至此成形。对此,国民...
宝马线上股东大会“技术故障”背... 【文/观察者网 张家栋 编辑/高莘】当地时间5月13日,据德国《世界报》报道,宝马集团年度股东大会因...
线上预约+线下收购,十部门联合... 2026年夏粮旺季收购即将全面启动。近日,国家发展改革委、国家粮食和物资储备局等十部门联合发出通知,...
赖清德再度缺席弹劾案审查会,国... 台民意机构于5月14日继续召开针对台湾地区领导人赖清德弹劾案的第二次审查会,赖清德与13日一样未出席...