eygle Eygle.
FAQ 2009-08-11

数据字典视图之:V$LATCH_CHILDREN 结构

V$LATCH视图在选取X$KSLLT记录时,进行了Group By及SUM运算,从而得出了一个汇总信息,而V$LATCH_CHILDREN视图并不进行汇总运算,所以也就显示了子Latch的相关信息,以下结构信息来自Oracle database 10gR2:
SELECT t.inst_id, t.addr, t.kslltnum, t.kslltcnm, n.kslldlvl, n.kslldnam,
       n.kslldhsh, t.kslltwgt, t.kslltwff, t.kslltwsl, t.kslltngt, t.kslltnfa,
       t.kslltwkc, t.kslltwth, t.ksllthst0, t.ksllthst1, t.ksllthst2,
       t.ksllthst3, t.ksllthst4, t.ksllthst5, t.ksllthst6, t.ksllthst7,
       t.ksllthst8, t.ksllthst9, t.ksllthst10, t.ksllthst11, t.kslltwtt
  FROM x$ksllt t, x$kslld n
 WHERE t.kslltcnm > 0 AND t.kslltnum = n.indx;
这是原始的,全部的数据输出!

-The End-



By eygle 2009-08-11 08:59 评论 (1)
eygle
eygle

前Oracle ACE Director,云和恩墨创始人。技术为骨,历史为脉,人文为魂。

返回首页

1 Comment

现在还不太懂,还没有研究得这么深,要经常来这里学习了~~