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: Help!!! Oracle Optimization Question

Re: Help!!! Oracle Optimization Question

From: Connor McDonald <connor_mcdonald_at_yahoo.com>
Date: 2000/04/08
Message-ID: <38EEDD01.50AD@yahoo.com>#1/1

Dan wrote:
>
> Currently we have a customized Oracle application written in Developer
> 2000. On any given day, we may have 30 users during peak hours. When
> I do a query against v$open_cursor I discover that I may have up to
> 1000 open cursors.
>
> Is this normal? I am concerned because many of the open cursors are
> from different users running the identical SQL. Correct me if I am
> mistaken, but doesn't Oracle first check the library cache for an
> identical SQL statement before parsing it. If that is true, shouldn't
> I only have one open cursor (and not four) if four users are running
> the same identical sql statement.
>
> Any thoughts would be appreciated.

The SQL is shared, the cursors are not. Forms is notorious for large amounts of cursors, but tweaking your 'open_cursors' parameter solves any potential problems in most cases.

HTH

-- 
===========================================
Connor McDonald
http://www.oracledba.co.uk

We are born naked, wet and hungry...then things get worse
Received on Sat Apr 08 2000 - 00:00:00 CDT

Original text of this message

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