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

Home -> Community -> Usenet -> c.d.o.server -> Re: Cache a table

Re: Cache a table

From: Geomancer <pharfromhome_at_hotmail.com>
Date: 26 Oct 2003 19:09:54 -0800
Message-ID: <cf90fb89.0310261909.75c1616c@posting.google.com>


"> A little known detail about tablescans in 8.1 (and probably 9.2 but I
> don't recall confirming it) is that the touch count on blocks subject
> to tablescans is NOT increased - so even if a "small" table is loaded
> into the middle of the LRU chain and repeatedly scanned, it will
> always end up falling off the end of the LRU chain as other blocks
> are read into the buffer. It never gets promoted to the hot end unless
> it is also subject to indexed accesses.

If this is correct (Jonathan is seldom wrong!), then it would imply that rows from small table full table scans would be re-read many times as they age-out of the LRU end of the buffer.

This might cause unnecessary disk I/O.

Would this be justification for caching all small tables that experience full table scans in the KEEP pool? Received on Sun Oct 26 2003 - 21:09:54 CST

Original text of this message

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