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: pinning a table in memory

Re: pinning a table in memory

From: Svend Jensen <Svend_SPAMKILL_at_OracleCare.Com>
Date: Sun, 01 Dec 2002 13:34:55 +0100
Message-ID: <3DEA01EF.9010905@OracleCare.Com>


David Sharples wrote:
> We have a largeish table (6 million records) and the queries we have on this
> table are a tad slow and the disk is the bottleneck.
>
> We have considered putting the table in cache (alter table xyz cache)
>
> Was wondering if this would help very much seeing as though the indexes for
> this table is still held on disk.
>
> Any opinions??
>
> Thanks
>
>

If you are running 8.1.6 or better *and* you have plenty of memory *and* the table size allows you to keep the sga size below OS/Oracle max. addressable memory *or* you run 64 bit Oracle *and* OS --- then you could convert the table into an index organized table (iot) and target that for the keep pool with sufficient space allocation (no aging out), and you use the iot index in your query --- then access is as fast as it gets (when the table is loaded into memory by non full scans, i.e.. index based lookup)

rgds

/Svend Jensen Received on Sun Dec 01 2002 - 06:34:55 CST

Original text of this message

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