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

Home -> Community -> Usenet -> c.d.o.misc -> Re: buffer cache hit ration calculation

Re: buffer cache hit ration calculation

From: Fred Petillot <fpetillo_at_fr.oracle.com>
Date: Thu, 23 Dec 1999 17:28:11 -0100
Message-ID: <386269BB.D3277833@fr.oracle.com>


Let's imagine I did:

    100 physical
    10000 logical (eg, db block + consistent gets) According to 1), hit ratio would be 2.
According to 2), it would be 99
Since the ratio is supposed to be a percentage, 2) seems more appropriate.

cosmin wrote:

> hello all;
>
> I am preparing for the OCP exam and I have a problem with the buffer cache
> hit ratio calculation:
>
> 1) The OCP DBA Certif Exam Guide by Couchman (ISBN 0-07-882549-0) says on
> page 875,
>
> cache hit ratio = (Physical Reads/(db block gets + consistent gets))
> * 100
>
> 2) The Oracle8 Advanced Tuning and Administration by Aronoff, Loney,
> Sonawalla (ISBN 0-07-882534-2) says on page 45
>
> cache hit ration = ((consistent gets + db block gets - physical
> gets)/(consistent gets + db block gets)) *100
>
> which one is correct?
>
> Thank you,
>
> Cosmin

--

+-------------------------------------+----------------------------+
| Fred Petillot                       |     fpetillo_at_fr.oracle.com |
| Oracle France - Support Technique   |            +33 1 4762 8201 |
| 65, rue des Trois Fontanot          |            +33 6 8089 5135 |
| 92732 Nanterre Cedex                |                            |
+-------------------------------------+----------------------------+




Received on Thu Dec 23 1999 - 12:28:11 CST

Original text of this message

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