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: max open cursors exceeded

RE: max open cursors exceeded

From: Jack C. Applewhite <japplewhite_at_inetprofit.com>
Date: Thu, 28 Feb 2002 06:03:22 -0800
Message-ID: <F001.0041AF24.20020228060322@fatcity.com>


max open cursors exceededHelmut,

How are you using interMedia Text? We use it continuously in our 8.1.7.2.5 DB (under Win2k Server) and have no such open cursors problem. Our Open_Cursors init parameter is set to 300 and we never get any errors with regards to it. BTW, it was the same under 8.1.6.0.0.

We have Java processes, a Cold Fusion application, and numerous PL/SQL stored procs hitting the interMedia Text indexes. Every morning we re-sync the main iMT index (50,000 to 280,000 new text documents per day). We've never had problems with open cursors.

I'm curious to know what you're doing with iMT to have this happen.

Thanks.

Jack



Jack C. Applewhite
Database Administrator/Developer
OCP Oracle8 DBA
iNetProfit, Inc.
Austin, Texas
www.iNetProfit.com
japplewhite_at_inetprofit.com
(512)327-9068

  -----Original Message-----
  From: root_at_fatcity.com [mailto:root_at_fatcity.com]On Behalf Of Daiminger, Helmut
  Sent: Thursday, February 28, 2002 2:28 AM   To: Multiple recipients of list ORACLE-L   Subject: max open cursors exceeded

  Hi!

  We are having problems with Oracle interMedia text and open cursors used:

  our instance has open_cursors et to 1000. We check the number of open cursors regularly using:

  break on report
  comp sum of curs on report
  select User_Name, SID, count(*) Curs from v$open_cursor group by User_Name, SID order by User_Name, SID;

  the corresponding sql text is extracted from the dd using:

  select SID, User_Name, SQL_Text from v$open_cursor order by User_Name, SID, SQL_Text;

  ususally, the number of open cursors used is about 300. if we are using interMedia text option, it usually rises and rises every day. after bouncing the instance, we are back to slightly below 300.

  Questions:

  1. MAX_OPEN_CURSORS is set to 1000 - when exceeding that threshold, we're experiencing problems; how can we monitor which users uses up all the cursors (and how many).
  2. What exactly is displayed when querying v$open_cursor? - I know htat there are parsed statements of the user/session - but this should be more than just a PL/SQL "declare cursor... open...fetch...close cursor", right? What about statements issued in SQL*Plus or through JDBC etc.?
  3. The results from v$open_cursor is equivalent to the currently running transaction, right? So when are those entries removed again? When the transaction commits or when the sessions ends? Or when issuing a PL/SQL "close cursor". Or are those entries overwritten? by whom? when?
  4. what does querying "select * from v$sql_cursor" return?

  Any ideas?

  This is 8.1.7 on Sun Solaris.

  Thanks,
  Helmut

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Jack C. Applewhite
  INET: japplewhite_at_inetprofit.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).
Received on Thu Feb 28 2002 - 08:03:22 CST

Original text of this message

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