Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: How to allocate table in memory during application lifetime .
Vitaly Sikolenko wrote:
> Haim Stots wrote:
>
> > Hello ,
> > What is the best way if any to make sure that the table is resident
in
> >
> > the memory,
> > i'm sick and tired of hearing my disk roaring "GRRRRRRRRRRRRRRRR"
> > the table is about 500K and i'm accessing it about 1000 times in a
> > min.
> >
> > Sincerely yours
> > Stots
> >
> > Please reply to: stots_at_elbit.co.il
>
You might try
ALTER TABLE <tableName> CACHE;
Oracle recommends this for very small, frequently used tables.
To undo this try
ALTER TABLE <tableName> NOCACHE;
Good luck
Eric Kamradt
hm: (801) 567-0912
mailto: kamradt_at_inconnect.com
http://www.inconnect.com/~kamradt/resume.html
Received on Fri Aug 08 1997 - 00:00:00 CDT