Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: alter session set events = 'immediate trace name flush_cache'

Re: alter session set events = 'immediate trace name flush_cache'

From: <kuroko_at_gmail.com>
Date: 18 Jul 2006 06:33:44 -0700
Message-ID: <1153229623.959672.265110@m73g2000cwd.googlegroups.com>


You can try the following query.
It gives you the count of blocks in buffer cache for each object.

select o.owner,o.object_name,o.object_type,count(b.BLOCK#) "Blocks in Cache" from v$bh b, dba_objects o
where b.OBJD=o.data_object_id
group by o.owner,o.object_name,o.object_type order by 4 desc Received on Tue Jul 18 2006 - 08:33:44 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US