DB2 Error Code 1000 – ORA-01000: maximum open cursors exceeded

In this post, you’ll learn about the DB2 error 1000-ORA-01000: maximum open cursors exceeded and the reason why you are receiving the error message and how to fix it

How does this Error Message Looks like

1000 – ORA-01000: maximum open cursors exceeded

Reason for the Error & Solution

Oracle limits the number of statements that can be open at any given time, and the application has made requests that keep open more statements than Oracle can handle. This can be resolved in one of the following ways:

Increase the number of cursors allowed in the database. This is typically done by increasing the open_cursors parameter in the initSIDNAME.ora file.

Ensure that Kodo query results and Extent iterators are being closed, since open results will maintain an open ResultSet on the server side until they are garbage collected.

Decrease the value of the MaxCachedStatements parameter in the ConnectionFactoryProperties configuration property.