My Oracle Support Banner

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

Last updated on AUGUST 23, 2023

Applies to:

Oracle Database Cloud Exadata Service - Version N/A and later
Oracle Database Cloud Service - Version N/A and later
Oracle Database - Enterprise Edition - Version to [Release 8.1.7 to 10.2]
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Information in this document applies to any platform.


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.


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.