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: Exceeding Open Cursors.. too many rows in v$open_cursors

RE: Exceeding Open Cursors.. too many rows in v$open_cursors

From: Guy Hammond <guy.hammond_at_avt.co.uk>
Date: Wed, 11 Jul 2001 09:30:44 -0700
Message-ID: <F001.003477C7.20010711093132@fatcity.com>

You need to explicitly close JDBC statements.

http://technet.us.oracle.com/tech/java/sqlj_jdbc/htdocs/jdbc_faq.htm#_47 _

This one got me too once :0)

g

-----Original Message-----

Sent: Wednesday, July 11, 2001 4:07 PM
To: Multiple recipients of list ORACLE-L

We are closing some cursors thru PLSQL scripts and thru JDBC as well. Every
time we run one script the cursors are not getting closed . Instead they are
shown as inactive in v$open_cursors table . Next time you run the same transction in the same session it makes those cursors as active but adds more rows into the open cursors table. So if execute the same script 10times
in a row I am exceeding the max limit of open cursors and eventually get a
message :java.sql.SQLException: ORA-01000: maximum open cursors exceeded .

Any idea how to over come this issue..
--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Guy Hammond
  INET: guy.hammond_at_avt.co.uk

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 Jul 11 2001 - 11:30:44 CDT

Original text of this message

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