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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: library cache hit ratio > 100%

Re: library cache hit ratio > 100%

From: Mladen Gogala <mgogala_at_allegientsystems.com>
Date: Mon, 14 Mar 2005 16:24:14 -0500
Message-ID: <423600FE.5010406@allegientsystems.com>


James Howerton wrote:

>DBA's,
>
>Has anyone seen library cache hit ratio > 100% ??? This is a very busy
>production database, it is usually < 97 % ( I don't tune by hit ratios
>I'm just curious).
>
>
>SQL> select SUM(PINS)/(SUM(PINS)+SUM(RELOADS))*100
> from v$librarycache;
>
>
>Library Hit Ratio
>--------------------------
> 100.009799
>
>1 row selected.
>
>
>

This is a well known bug from 8i: all quantities in X$ tables are 32-bit and when the database is
busy enough, those quantities can turn negative. That is how you get negative reloads. That was
limiting usefulness of statspack on 8i, too.Don't worry, be happy, you're living in the database tuner's
paradise: BCHR>100%. What else can you ask for?

-- 
Mladen Gogala
Oracle DBA
Ext. 121


--
http://www.freelists.org/webpage/oracle-l
Received on Mon Mar 14 2005 - 16:28:01 CST

Original text of this message

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