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

Thread: Pinning Index in memory

  1. #1
    Join Date
    Oct 2000
    Posts
    6
    How to pin a index in memory?
    How to calculate buffer hit ratio per table?
    Can someone throw some light on above questions
    that I was asked in interview.

  2. #2
    Join Date
    May 2000
    Location
    ATLANTA, GA, USA
    Posts
    3,135
    Using CACHE option / buffer pool keep / recycle you can cache the index in memory (like we do in table).

    Buffer hit ratio per table:
    If you keep only one table in BUFFER POOL RECYLE , you can calculate the hit ratio by reading the columns Consistent gets, Physical reads, and db block gets from the V$BUFFERPOOL_STATISTICS table.

    Other way is mapping the block numbers from V$BH to the block numbers of a table. This I did not work out. You can try.

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