Oracle error
ORA-01000
ORA-01000: maximum open cursors exceeded
What usually causes it
A session hit OPEN_CURSORS, usually because the application doesn't close statements or result sets.
What to check first
Count open cursors per session in V$OPEN_CURSOR to find the offender. Raising OPEN_CURSORS (dynamic) only helps if the count is legitimately high.
Scripts that help
- Non-default initialization parametersEvery parameter that has been changed from its default. Handy for comparing two databases or documenting a build.
- Everything about one sessionPrompts for a SID and shows the user, OS details, program, current and previous SQL_ID, wait event and the OS process ID behind it.