Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Pinning Tables
> Hi all,
> I have been trying to find some reference on pinning tables in the SGA. I
> haven't found anything, all that I am finding is table caching and the
keep
> buffer pool. Is this all that there is, can I "pin" a table in the
memory?
> Thanks in advance.
try ALTER TABLE xxx STORAGE(BUFFER_POOL KEEP);
when the table blocks are first accessed they should go to the KEEP buffer and if it is big enough they should never be flushed out (take a look at the BUFFER_POOL_KEEP init.ora parameter).
several people mentioned ALTER TABLE xxx CACHE; but this is different from "pinning" because it will just instruct the server to place the table blocks on the "most recently used" end of the buffer pool (instead on the "least recently used" one) if full table scan is performed and sooner or later they would probably be flushed out.
hth,
Marin
Herman Hesse, "Siddhartha"
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Marin Dimitrov INET: marin_at_sirma.bg Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Tue Feb 06 2001 - 05:51:26 CST
![]() |
![]() |