Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.tools -> Re: Implicit cursors and shared pool

Re: Implicit cursors and shared pool

From: Sybrand Bakker <postbus_at_sybrandb.demon.nl>
Date: Fri, 20 Oct 2000 19:13:23 +0200
Message-ID: <972062655.4731.3.pluto.d4ee154e@news.demon.nl>

implicit cursors are closed but not deallocated. This is one of the reasons to avoid using implicit cursors as much as possible.

Hth,

Sybrand Bakker, Oracle DBA

"Martin Trzaskalik" <martin_at_element5.de> wrote in message news:8spm3r$6il$1_at_nnrp1.deja.com...
> We have some pl/sql packages using implicit cursors to regularly
> do updates on some tables:
>
> begin
> update table set value = '123' where id = key;
> commit;
> end;
>
> Recently I found out that some of these queries appear as
> cursors after calling SYS.DBMS_SHARED_POOL.SIZES(xxx).
> Their amount of shared pool memory is increasing by time.
>
> Why is that? I guess after the procedure has been executed
> the implicit cursor should have been closed. So I do not
> expect him to allocated shared pool memory.
>
> Do I have to explicitly close these cursors?
>
> Any hint?
>
> Regards,
>
> Martin
>
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
Received on Fri Oct 20 2000 - 12:13:23 CDT

Original text of this message

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