954,561 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Open Cursors Exceed

ORA-01000: maximum open cursors exceeded tips

I am getting following error.
I made a combo box with select query behind it, i used itemlistener to fetch data. Today during testing i found that if user move too quickly in combo box so select query will be fired for each number he passes and it gives an error. So what does it mean and how to resolve it... Thank you in advance.

Majestics
Practically a Master Poster
621 posts since Jul 2007
Reputation Points: 199
Solved Threads: 49
 

Connect to the database as SYS and execute this query

ALTER SYSTEM SET open_cursors = 400 SCOPE=BOTH;


or

set in the init.ora file parameter open_cursors, for example

open_cursors=400

and restart database

instead of 400 set as you want

babyDBA
Newbie Poster
10 posts since Sep 2009
Reputation Points: 10
Solved Threads: 5
 

actually default open_cursors are set to 300 in oracle database so you can change it to how much open_cursors you want so try the following query
sql>alter system set open_cursors=500 scope=BOTH(as your wish how much open_cursors you want you just specify next to open_cursors column)

shapam
Newbie Poster
22 posts since Sep 2010
Reputation Points: 10
Solved Threads: 1
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You