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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: How to identify sql texts which are having open cursor?

RE: How to identify sql texts which are having open cursor?

From: Daemen, Remco <R.Daemen_at_facent.nl>
Date: Wed, 06 Jun 2001 09:20:33 -0700
Message-ID: <F001.0031E629.20010606084223@fatcity.com>

How about

sys.V_$OPEN_CURSOR

to get the SIDs, and then try to get the query they are executing ?

HTH, Remco

-----Oorspronkelijk bericht-----
Van: Shantanu Talukder [mailto:shantanu_t_at_yahoo.com] Verzonden: woensdag 6 juni 2001 0:14
Aan: Multiple recipients of list ORACLE-L Onderwerp: How to identify sql texts which are having open cursor?

Our application is using up open_cursor limits of 500. We are suspecting that application code written in Java
are not closing cursors explicitly.
Is there a way to idntify those sql code which are not closing cursor?
We just don't want to increase open_cursor parameter in init.ora and bounce the db without identifying sql.

HTH,
Shantanu


Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Shantanu Talukder
  INET: shantanu_t_at_yahoo.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Daemen, Remco
  INET: R.Daemen_at_facent.nl

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Wed Jun 06 2001 - 11:20:33 CDT

Original text of this message

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