v$bh - What it stands for ? [message #61491] |
Thu, 29 April 2004 00:26 |
IA
Messages: 91 Registered: March 2004
|
Member |
|
|
Hi Everyone,
I would like to know what v$bh view stands for.
Also, how can we use this view effectively and get some performance stats out of it.
Many Thanks .... IA
|
|
|
Re: v$bh - What it stands for ? [message #61492 is a reply to message #61491] |
Thu, 29 April 2004 01:32 |
Daljit Singh
Messages: 290 Registered: October 2003 Location: Texas
|
Senior Member |
|
|
Hi,
V$BH view will give u detail including size abt all the objects which are cached in ur db buffers.
Through this info u can decide which segment to place in which buffer and wht should be the size of that buffer. And by this u can increase the hit ratio by properly configuring diff buffer pools of appropriate sizes.
Daljit Singh
|
|
|
Re: v$bh - What it stands for ? [message #61504 is a reply to message #61492] |
Thu, 29 April 2004 14:01 |
IA
Messages: 91 Registered: March 2004
|
Member |
|
|
Hi,
Thank you very much for the reply.
In this case, can I issue the following query to find out what segments are currently being accessed?
select de.segment_name
from dba_extents de, v$bh bh
where de.block_id = bh.block#
and de.file_id = bh.file#;
I ran this code, but it gives me no rows! I am not sure why this would be the case, because I have applications running and accessing tables in the database at the point I ran the query.
Any ideas?
Thanks ... IA
|
|
|
|
|
Re: v$bh - What it stands for ? [message #61533 is a reply to message #61509] |
Mon, 03 May 2004 17:19 |
IA
Messages: 91 Registered: March 2004
|
Member |
|
|
Hi Daljit,
I ran your query in production, yet still now rows. I am certain many applications are running at the point in time when I run your script.
Still not sure why this query does'nt capture any rows ... because looking at it, it should.
Thanks again ... IA
|
|
|