Database Tuning (MOSC)

MOSC Banner

How to trace ora-error maximum open cursors exceeded using Statspack?

edited Jan 28, 2009 11:58PM in Database Tuning (MOSC) 2 comments

Hi, 

We are using Oracle 9.2.8.0 installed on a Linux RedHat_3 (x86) server.
One of our java application processes incoming MQ messages of size 1M each to store data into our database.  While processing the messages we encountered the oracle error: ORA-01000 - maximum open cursors exceeded. 
The application code has been fixed currently to avoid this error.

We want to know if the oracle statspack facility can be used to trace and audit this error.
We set-up a statspack DB job (statspack.snap(i_snap_level => 10) to gather information every 15 mins for 2 hours and did a few load tests during which the above error was simulated. But the "open cursors" issue was not reported in the statspack report.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

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

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center