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: How does a table scan effect the cache?

Re: How does a table scan effect the cache?

From: No-spam poster <cpclt_at_yahoo.com>
Date: Thu, 26 Jul 2001 01:49:16 GMT
Message-ID: <wGK77.4333$TM5.499976@typhoon.southeast.rr.com>

On the other hand if you want the blocks to not go the end of the LRU list then ALTER TABLE CACHE. The only reason to do this is if you know that the table will be fully scanned multiple times in a short period.

"Chuck Hamilton" <chuck_hamilton_at_yahoo.com> wrote in message news:l3gtlt0ivev2n9cml486d0ab99lku7c4j3_at_4ax.com...
> When a full scan is done on a table, it's my understanding that the
> blocks read go to the least recently used end of the LRU list. Does
> that mean that every time the scan reads a group of blocks
> (db_file_multiblock_read_count to be exact), that the same blocks at
> the end of the LRU list keep getting replaced on each read? So
> assuming my dbfmbrc = 16, and no other access is happening against the
> table, and the table is large enough to not be cached at the top of
> the list, I would never have more than 16 blocks of that table in the
> cache? Is my understanding on this correct?
> --
> Chuck Hamilton
> chuck_hamilton_at_yahoo.com
>
> "Do not be deceived, God is not mocked;
> for whatever a man sows, this he will also
> reap." (Gal 6:7 NASB)
Received on Wed Jul 25 2001 - 20:49:16 CDT

Original text of this message

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