If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Delphi, C etc > Ora-01000 : maximum open cursors exceeded

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-12-04, 10:38
Karen99 Karen99 is offline
Registered User
 
Join Date: Nov 2003
Location: South Africa
Posts: 16
Unhappy Ora-01000 : maximum open cursors exceeded

Hi

I am using Delphi 7 and Oracle 8.1.7. I am getting the above mentioned error. I know I can change the open_cursors parameter in my init.ora file. Which I have done, to 7500. And I am still getting the problem. So I guess I must go and have a look at my delphi application. What I don't understand is what do they mean by cursors in terms of delphi ? Is that the amount of table and query components that are open ? If that is the case, then I still don't understand what the problem is, because I do close all my queries and tables. I have already run the following query :

select user_name, status, osuser, machine, a.sql_text
from v$session b,
v$open_cursor a
where a.sid = b.sid
/

And according to that the cursor/statement that occurs the most is an insert into a table. So ...... what must I do about that ? I use a table component to insert the records and the insert is in a loop. So must I open and close the table the whole time ? Put a db.starttransaction before the insert and a db.commit after the insert ? I have done all of these and it does not work. I am clearly missing something, but got no idea what.

If anybody have an explanation, please explain like I am a 5 year old kid, because I have read alot of forums about this subject already and I am still not getting it.

Thanks
Karen
Reply With Quote
  #2 (permalink)  
Old 12-13-06, 13:18
zorino zorino is offline
Registered User
 
Join Date: Dec 2006
Posts: 1
thanks for any idea about this problem that i also encounter in the same conditions !
Z.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On