DBAsupport.com Forums - Powered by vBulletin
Results 1 to 8 of 8

Thread: Application error with OPEN_CURSOR

  1. #1
    Join Date
    Jul 2005
    Posts
    45

    Application error with OPEN_CURSOR

    I have an application thats getting an error with the open_cursor parameter. I'm assuming that the value of 300 is too low. Is there any way to track a user on how many cursors are being used?

    Hope that made sense.

  2. #2
    Join Date
    Sep 2002
    Location
    England
    Posts
    7,334
    check out v$open_cursor

  3. #3
    Join Date
    Nov 2000
    Location
    greenwich.ct.us
    Posts
    9,092
    Quote Originally Posted by Bogey
    I have an application thats getting an error with the open_cursor parameter. I'm assuming that the value of 300 is too low. Is there any way to track a user on how many cursors are being used?
    300 open_cursors is a lot for an application.

    Remember, you have 300 open cursors for EACH SESSION, not in the entire database. It is very unlikely one session has 300 open cursors unless you have a bug in your code. We typically see people asking this question when they open a cursor and don't close it. After a while, they run into an error.
    Jeff Hunter

  4. #4
    Join Date
    Jul 2005
    Posts
    45
    It is one application that is doing this and the bad thing its not a heavely used app. How can I track down whats causing so many open_cursor errors. I'm using TOAD for admin interface and when I look at the SGA trace I see one query that has 19,0621,121 disk reads (is this bad?)

    Just Learning

    dan

  5. #5
    Join Date
    Aug 2002
    Location
    Sofia, Bulgaria
    Posts
    84
    Hi Dan,
    I have prepared some document one week ago regarding this kind of error. I attach it to my post.
    I just want to note that the document is prepared for an PL/SQL web-based application that explains the "MOD_PLSQL connection pooling" and "DAD performance configuration" at the end.
    Hope this helps.
    Attached Files Attached Files
    Radoslav Rusinov
    OCP 8i,9i,10g DBA
    http://dba-blog.blogspot.com

  6. #6
    Join Date
    Nov 2000
    Location
    greenwich.ct.us
    Posts
    9,092
    Quote Originally Posted by rado
    Hi Dan,
    I have prepared some document one week ago regarding this kind of error. I attach it to my post.
    I just want to note that the document is prepared for an PL/SQL web-based application that explains the "MOD_PLSQL connection pooling" and "DAD performance configuration" at the end.
    Hope this helps.
    That's one of the best documents I've seen describing how to deal with ORA-1000 errors. You should put it on your blog so I can reference it.
    Jeff Hunter

  7. #7
    Join Date
    Aug 2002
    Location
    Sofia, Bulgaria
    Posts
    84
    Hi Jeff,
    Thank you for your words!

    I put it already on my blog.
    Last edited by rado; 08-05-2005 at 02:18 PM.
    Radoslav Rusinov
    OCP 8i,9i,10g DBA
    http://dba-blog.blogspot.com

  8. #8
    Join Date
    Jul 2005
    Posts
    45
    Quote Originally Posted by rado
    Hi Dan,
    I have prepared some document one week ago
    I guess I have good timing in asking questions. **Did I say this list is aswome**

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width