Overview of ORA-1000 Maximum Number of Cursors Exceeded (Doc ID 1012266.6)

Last updated on DECEMBER 06, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 8.1.7.4 and later
Information in this document applies to any platform.
***Checked for relevance on 13-Jan-2012***


Symptoms

One of the most common errors that occurs is an ORA-01000:

ORA-01000: "maximum open cursors exceeded"
Cause: A host language program attempted to open too many cursors.
The initialization parameter OPEN_CURSORS determines the maximum number of cursors per user session.
Action: Modify the program to use fewer cursors. If this error occurs often, shut down Oracle, increase the value of OPEN_CURSORS.       example: alter system set open_cursors = 400 scope=both;


This error happens a lot in association with some kind of application, e,g, an OCI program, Pro*C program, Visual Basic, CDE Tools (Reportwriter, Forms, etc.), Financial Applications, etc.

This error also happens at the database level, with just regular inserts, updates, deletes, etc. in PL/SQL or in SQL*Plus, etc.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms