Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: free buffers in buffer cache
select count(*) from v$bh where status = 'free';
Igor Neyman, OCP DBA
ineyman_at_perceptron.com
> i tried it but no luck...
>
> SQL> desc v$bh
> Name Null? Type
> ----------------------------------------- -------- -------------
> FILE# NUMBER
> BLOCK# NUMBER
> CLASS# NUMBER
> STATUS VARCHAR2(4)
> XNC NUMBER
> FORCED_READS NUMBER
> FORCED_WRITES NUMBER
> LOCK_ELEMENT_ADDR RAW(4)
> LOCK_ELEMENT_NAME NUMBER
> LOCK_ELEMENT_CLASS NUMBER
> DIRTY VARCHAR2(1)
> TEMP VARCHAR2(1)
> PING VARCHAR2(1)
> STALE VARCHAR2(1)
> DIRECT VARCHAR2(1)
> NEW CHAR(1)
> OBJD NUMBER
> TS# NUMBER
>
> -----Original Message-----
> Sent: Monday, May 05, 2003 4:37 PM
> To: Multiple recipients of list ORACLE-L
>
>
> Arvind:
>
> Check X$BH for status=0, i.e count(*) from X$BH where status=0.
>
>
>
> =====
> Have a nice day !!
> ------------------------------------------------------------
> Best Regards,
> K Gopalakrishnan,
> Bangalore, INDIA.
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.net
> --
> Author: K Gopalakrishnan
> INET: kaygopal_at_yahoo.com
>
> Fat City Network Services -- 858-538-5051 http://www.fatcity.com
> San Diego, California -- Mailing list and web hosting services
> ---------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.net
> --
> Author: Arvind Kumar
> INET: arvindk_at_sqlstarintl.com
>
> Fat City Network Services -- 858-538-5051 http://www.fatcity.com
> San Diego, California -- Mailing list and web hosting services
> ---------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).
>
>
-- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Igor Neyman INET: ineyman_at_perceptron.com Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Mon May 05 2003 - 09:02:02 CDT