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: OPEN_CURSORS-???

Re: OPEN_CURSORS-???

From: Christian Antognini <christian.antognini_at_trivadis.com>
Date: Fri, 13 Aug 2004 01:58:10 +0200
Message-ID: <411c0415@post.usenet.com>

Hi

"DK" <dakight_at_bellsouth.net> wrote in message news:K6TSc.25$ii.5_at_bignews5.bellsouth.net...
> I have a developer who would like for the open_cursors to be set to 2000.
> He tells me that he will open his cursor once for the life of his
> application to avoid reparsing his sql statements by oracle. He's using
> bind variable in his code. Is there an advantage of leaving these cursors
> open for the duration of the application versus just having Oracle search
> the shared pool for the matching sql?

Reusing cursors it is usually a good thing for statements that are frequently re-executed. Unfortunately, if you have lots of connections that open lots of cursors, you will need a huge shared pool.

Chris

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Received on Thu Aug 12 2004 - 18:58:10 CDT

Original text of this message

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