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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Tracing of the number of open cursor

Re: Tracing of the number of open cursor

From: Girts Graudins <ggraudins_at_my-deja.com>
Date: Wed, 29 Mar 2000 18:40:01 GMT
Message-ID: <8btilu$f03$1@nnrp1.deja.com>

> I will know the number of cursor open for sid=47, but i realise that
> this view is always remain the high value, it does not refreshing the
> current no. of open cursor in the view.

From what I understand, this view allows you to see the cursors cached in the shared pool. You can clear it by ALTER SYSTEM FLUSH SHARED_POOL.

I have noticed that cursors I know are closed still appear in this view, however, it is not the high-water mark. The numbers go down as well, as the cursors are removed from the shared pool. You can monitor the number of cursors in this view when you run your application, and see how it changes. You can also see the SQL_TEXT of the cursors and identify where your leak is.



Girts Graudins
Consulant
The Exeter Group, Inc.
ggraudins_at_hotmail.com
http://www.exetergroup.com/

Sent via Deja.com http://www.deja.com/
Before you buy. Received on Wed Mar 29 2000 - 12:40:01 CST

Original text of this message

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