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: Pinned procedures, how to identify them?

Re: Pinned procedures, how to identify them?

From: Lun Wing San (Oracle) <wslun_at_qrcsun.qrc.org>
Date: 1997/02/07
Message-ID: <32FB7FBF.5442@qrcsun.qrc.org>#1/1

James Dickson wrote:
>
> Greg Burris wrote:
> >
> > There is a way to ensure that a table stays in memory, with Oracle7
> >
> > ALTER TABLE tablename CACHE;
>
> Thanks for that tip Greg.
>
> I have a similar problem; I can pin procedures in memory with
> dbms_shared_pool.keep
> e.g.
> > SVRMGR> execute sys.dbms_shared_pool.keep('OWA2DEMO.HELLOWORLD');
> > Statement processed.
>
> but what SQL can I run that will tell me what is currently
> pinned and what is not? None of the fields in v$sqlarea
> seem to have this field.

  select * from v$db_object_cache;

---
Name   : Lun Wing San
Title  : Oracle Application Developer of Hong Kong Productivity Council
         Oracle Database Administrator and System Administrator of QRC
Phone  : (852)27885841

This posting represents the personal opinions of the author. It is not the
official opinion or policy of the author's employer. Warranty expired when you
opened this article and I will not be responsible for its contents or use.
Received on Fri Feb 07 1997 - 00:00:00 CST

Original text of this message

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