------------ ------------------- ------ ---------- ---------- ---------- ---------- -------------- ---------------- ------------- ------------------- ---------- ---------- 00000000844ED538 simulator lru latch 6 185 560 1 0 72795239 3207148 0 0 1 0
> select addr,name,level#,latch#,gets,misses,sleeps,immediate_gets,immediate_misses,waiters_woken,waits_holding_latch,spin_gets,wait_time from v$latch_children where addr=lpad(upper('8353a258'),'16','0') ADDR NAME LEVEL# LATCH# GETS MISSES SLEEPS IMMEDIATE_GETS IMMEDIATE_MISSES WAITERS_WOKEN WAITS_HOLDING_LATCH SPIN_GETS WAIT_TIME ---------------- -------------------- ------ ---------- ---------- ---------- ---------- -------------- ---------------- ------------- ------------------- ---------- ---------- 000000008353A258 simulator hash latch 7 186 72792634 0 0 0 0 0 0 0 0
--//奇怪这两个latch我从来没有过,而且奇怪的是根本看不到cbc latch. --//在10g下重复测试看看(注10g shared latch 的函数是kslgetsl )
Breakpoint 1 at 0x7a0644 Breakpoint 2 at 0x7a0a44 Breakpoint 3 at 0x3bccd52 Breakpoint 4 at 0x3be9a04 Breakpoint 5 at 0x3181cd6400 Breakpoint 6 at 0x78ef44 Function "ksl_get_shared_latch" not defined. Make breakpoint pending on future shared library load? (y or [n]) [answered N; input not from terminal] Breakpoint 7 at 0x78f4bc Breakpoint 8 at 0x79054c --//奇怪10g没有ksl_get_shared_latchoracle内部函数.注解这部分内容.
(gdb) c Continuing. kslgetsl laddr:7cfb24f8, willing:1, where:2096584384, why:80, mode:8 kslgetsl laddr:7cfb24f8, willing:1, where:2096584384, why:81, mode:16 kslgetsl laddr:7cfb24f8, willing:1, where:2096584384, why:80, mode:8 kslgetl 7a10aaa0, 1, 0, 2741 kslgetsl laddr:7cfb24f8, willing:1 |