eygle.com   eygle.com
eygle.com  
 
eygle.com - 留言簿 - 回复留言 - Powered by eYgLe.Com
返回留言簿
回 复 留 言
留言ID:
留言原文:
To: 盖老师
  盖老师
您在书上说
“结合dba_extends,可以查询到这些热点Buffers来自哪些对象
select e.owner, e.segment_name,e.segment_type
from dba_extents e,
( select * from
 (select addr, ts#, file#,dbarfil, dbablk, tch from x$bh order by tch desc )
 where rownum < 11 ) b
where e.relative_fno = b.dbarfil and
 e.block_id <= b.dbablkand
 e.block_id + e.blocks > b.dbablk


我想请教一下这个SQL?
Question 1: x$bh 中 dbablk 的具体含义?
Question 1: 下面这个查询条件 您是如何推理得出的
  “
where e.relative_fno = b.dbarfil and
 e.block_id <= b.dbablkand
 e.block_id + e.blocks > b.dbablk

From: ora_study
2010.07.02 00:26
管理密码: 请输入管理密码, 否则无法回复.
斑竹昵称:
信息图标: ( 随机 )


BB 代码:
内容:

如果想删除回复, 请点击最下面的删除回复按钮.
删 除 回 复
管理密码: 请输入管理员密码, 只有版主才能删除回复.
Copyright © 2003~2012 eygle.com All Rights Reserved.
Powered by: www.eygle.com