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: Cache Hit Ratio?

Re: Cache Hit Ratio?

From: ALANOR <alanor_at_aol.com>
Date: 1997/08/28
Message-ID: <19970828050001.BAA20911@ladder02.news.aol.com>#1/1

Satar:

Perhaps this script will be useful:

col global_name for A20
variable d number
variable c number
variable r number
begin
select value into :c from v$sysstat
where name = 'consistent gets';
select value into :d from v$sysstat
where name = 'db block gets';
select ( 1- value/( :c + :d)) into :r
from v$sysstat where name in ( 'physical reads'); end;
/
select global_name, :r "Hit Ratio" from global_name;

I had this script in my old notes, so have fun with it. Received on Thu Aug 28 1997 - 00:00:00 CDT

Original text of this message

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