사용자 도구

사이트 도구


dbms:oracle:concept:owi:2day

OWI 2Day

SELECT /*+ ORDERED */
       lo.kglnaobj AS object ,
       decode( ll.kgllkmod , 0 , 'none' , 1 , 'null' , 2 , 'share' , 3 , 'exclusive' , ll.kgllkmod ) AS currentlockmode ,
       decode( ll.kgllkreq , 0 , 'none' , 1 , 'null' , 2 , 'share' , 3 , 'exclusive' , ll.kgllkreq ) AS requestlockmode ,
       ll.kgllktype
       TYPE   ,
       s.schemaname holderschema ,
       s.program holderprogram ,
       s.module holdermodule
FROM   dba_kgllock ll ,
       x$kglob lo ,
       v$session s
WHERE  ll.kgllkhdl = lo.kglhdadr
AND    ll.kgllkuse = s.saddr
AND    ll.kgllkreq > 0 ;
dbms/oracle/concept/owi/2day.txt · 마지막으로 수정됨: 2007/12/11 11:22 저자 220.117.168.158