cache hit ratio
DBAsupport.com Forums - Powered by vBulletin
Results 1 to 3 of 3

Thread: cache hit ratio

  1. #1
    Join Date
    Apr 2002
    Posts
    135
    can somebody give the query to find the average cache hit ratio ?

    How to calculate it.

    Good Judgement comes from Experience.
    Experience comes from Bad Judgement

  2. #2
    Join Date
    Jul 2002
    Posts
    132
    REM Checks database buffer hit ratio:
    REM Hit Ratio= ( 1- (physical-reads/(db-block-gets+consistent-gets) ) )
    spool buffer
    select s1.value "Db block gets",
    s2.value "Consistent gets",
    s3.value "Physical reads",
    round(100*(1-(s3.value/(s1.value+s2.value)))) "hit %"
    from v$sysstat s1, v$sysstat s2, v$sysstat s3
    where s1.name='db block gets'
    and s2.name='consistent gets'
    and s3.name='physical reads'
    /

  3. #3
    Join Date
    Aug 2002
    Posts
    55

    Question ********graphical way**********

    [/B][/QUOTE]
    : without above coding there is no graphical way to get the hit ratio?!

    [Edited by Alauddin on 08-20-2002 at 03:47 PM]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width