ITPub博客

首页 > Linux操作系统 > Linux操作系统 > 找出热点块所属的用户,对象名,类型

找出热点块所属的用户,对象名,类型

原创 Linux操作系统 作者:lsm_3036 时间:2011-08-24 14:10:21 0 删除 编辑

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/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2008-12-08

  • 博文量
    64
  • 访问量
    138375