DBAsupport.com Forums - Powered by vBulletin
Results 1 to 4 of 4

Thread: How to monitor buffer cache and shared pool usage?

Threaded View

  1. #2
    Join Date
    Sep 2000
    Location
    Chennai, India
    Posts
    865
    Use the following query to calculate the buffer cache hit ratio using the formulae given below the code:
    Code:
    SELECT NAME, VALUE
      FROM V$SYSSTAT
    WHERE NAME IN ('session logical reads','physical reads',
                   'physical reads direct','physical reads direct (lob)');
    Hit Ratio = 1 - ((physical reads - physical reads direct - physical reads direct (lob)) /
    (db block gets + consistent gets - physical reads direct - physical reads direct (lob))

    This should be > 95%

    Use the following link for the shared pool: http://download-west.oracle.com/docs...mory.htm#32137

    HTH.
    Last edited by ggnanaraj; 06-19-2003 at 06:02 AM.

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