文章详情

短信预约-IT技能 免费直播动态提醒

请输入下面的图形验证码

提交验证

短信预约提醒成功

V$LATCH_CHILDREN视图

2024-04-02 19:55

关注

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。

 

阅读原文内容投诉

免责声明:

① 本站未注明“稿件来源”的信息均来自网络整理。其文字、图片和音视频稿件的所属权归原作者所有。本站收集整理出于非商业性的教育和科研之目的,并不意味着本站赞同其观点或证实其内容的真实性。仅作为临时的测试数据,供内部测试之用。本站并未授权任何人以任何方式主动获取本站任何信息。

② 本站未注明“稿件来源”的临时测试数据将在测试完成后最终做删除处理。有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341

软考中级精品资料免费领

  • 历年真题答案解析
  • 备考技巧名师总结
  • 高频考点精准押题
  • 2024年上半年信息系统项目管理师第二批次真题及答案解析(完整版)

    难度     813人已做
    查看
  • 【考后总结】2024年5月26日信息系统项目管理师第2批次考情分析

    难度     354人已做
    查看
  • 【考后总结】2024年5月25日信息系统项目管理师第1批次考情分析

    难度     318人已做
    查看
  • 2024年上半年软考高项第一、二批次真题考点汇总(完整版)

    难度     435人已做
    查看
  • 2024年上半年系统架构设计师考试综合知识真题

    难度     224人已做
    查看

相关文章

发现更多好内容

猜你喜欢

AI推送时光机
位置:首页-资讯-数据库
咦!没有更多了?去看看其它编程学习网 内容吧
首页课程
资料下载
问答资讯