溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務(wù)條款》

V$LATCH_CHILDREN視圖

發(fā)布時間:2020-06-15 08:50:45 來源:網(wǎng)絡(luò) 閱讀:522 作者:onlinekof2001 欄目:關(guān)系型數(shù)據(jù)庫

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次數(shù)。

MISSES在Willing-to-waits模式下發(fā)生等待時請求latch次數(shù)。

SLEEPS:當(dāng)發(fā)生latch等待導(dǎo)致session休眠時請求latch的次數(shù)。

IMMEDIATE_GETS:no-wait模式下請求latch次數(shù)。

IMMEDIATE_MISSES:請求no-wait latch失敗的次數(shù)。

WAITERS_WOKEN:該列已經(jīng)被當(dāng)前版本棄用,保留是為了向前兼容。

WAITS_HOLDING_LATCH該列已經(jīng)被當(dāng)前版本棄用,保留是為了向前兼容。

SPIN_GETS:當(dāng)spinning時,最終成功請求Willing-to-wait latch次數(shù)

WAIT_TIME:latch等待消耗的時間(以微秒計算)。

CON_ID:表明數(shù)據(jù)的從屬關(guān)系,0 表示那些行屬于CDB的數(shù)據(jù),1 表示僅屬于root,n 表示適用的container ID。

 

向AI問一下細(xì)節(jié)

免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進(jìn)行舉報,并提供相關(guān)證據(jù),一經(jīng)查實,將立刻刪除涉嫌侵權(quán)內(nèi)容。

AI