----- Original Message -----
To: Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]>
Sent: Monday, February 05, 2001 17:36

> 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


----
"When someone is seeking, it happens quite easily that he only sees
the thing that he is seeking; that he is unable to find anything, unable to
absorb anything, because he is only thinking of the thing he is seeking,
because he is obsessed with his goal. Seeking means: to have a goal;
but finding means: to be free, to be receptive, to have no goal. ..."


                                Herman Hesse, "Siddhartha"


-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Marin Dimitrov
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).

Reply via email to