+ -
当前位置:首页 → 问答吧 → 盖国强老师的深入浅出oracle中的问题

盖国强老师的深入浅出oracle中的问题

时间:2010-08-10

来源:互联网

在第五章讲x$bh和buffer header里有一段找热点对象的sql:
  1. select e.owner,e.segment_name,e.segment_type from dba_extents e,
  2. (select * from (select addr,ts#,file#,dbarfil,dbablk,tch from x$bh order by tch desc) where rownum<11) b
  3. where e.relative_fno=b.dbarfil and e.block_id<=b.dbablk and e.block_id + e.blocks > b.dbablk;
复制代码
其中的
  1. e.block_id<=b.dbablk and e.block_id + e.blocks > b.dbablk
复制代码
要怎么理解呢?

作者: gachoyi   发布时间: 2010-08-10

有什么不明白的呢?

作者: renxiao2003   发布时间: 2010-08-10