找出熱點塊所屬的使用者,物件名,型別

lsm_3036發表於2011-08-24

select owner,object_name,object_type from

 dba_objects where data_object_id in

 (select obj from x$bh where hladdr in
(select addr from (select addr from v$latch_children where name='cache buffers chains')))
 and owner not like '%SYS%';

例子:
SQL> select owner,object_name,object_type from dba_objects where data_object_id in (select obj from x$bh where hladdr in
  2  (select addr from (select addr from v$latch_children where name='cache buffers chains')))
  3   and owner not like '%SYS%';

OWNER      OBJECT_NAME          OBJECT_TYP
---------- -------------------- ----------
ROBINSON   HOT_BLOCK            TABLE

 

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/16978544/viewspace-705702/,如需轉載,請註明出處,否則將追究法律責任。

相關文章