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 -> Help with query to find buffer pool usage

Help with query to find buffer pool usage

From: Richard Piasecki <ogo_at_mailcity.com>
Date: 20 Apr 2002 03:21:07 -0500
Message-ID: <n582cu84g3gc1cbnu7rg0nv7ainn3ol61k@4ax.com>

Greetings.

I am currently using the following query to find the objects that are cached in the block buffer pool.

select a.status, b.object_name, count(*) total from v$bh a, dba_objects b
where a.objd = b.object_id(+)
group by a.status, b.object_name;

It works fine. But, I'd really like to include the pool in the output (keep, recycle, default). However, there doesn't seem to be a field in v$bh (or even x$bh) that corresponds to the pool.

Does anyone know how to get this information? I assume I need to join with another table. Which one is it?

Received on Sat Apr 20 2002 - 03:21:07 CDT

Original text of this message

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