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: Jim Kennedy <kennedy-downwithspammersfamily_at_attbi.net>
Date: Fri, 13 Aug 2004 00:05:14 GMT
Message-ID: <_ATSc.242595$a24.58689@attbi_s03>

"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?
>

This practice helps scalability of the application. You require less CPU cycles and will have better performance. This is a common practice. Your machine will use more RAM as each process will possibly need more ram to run, but you will have less memory thrashing if you have sufficient ram on the server.
Jim Received on Thu Aug 12 2004 - 19:05:14 CDT

Original text of this message

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