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

Thread: How many no.of CURSORS opened in a session

  1. #1
    Join Date
    Apr 2002
    Posts
    2

    Thumbs up

    Hi All,
    Is there any possibility to find How many CURSORS opened in a current Session.
    My Actual problem is, When am accessing Oracle from my Application, it's throwing Exceptions like, "Maximum number of Cursors Exceeded..! " like.
    There is one solution that, I can increase CURSOR attributes in Oracle Property file. But, I need to keep the value same.


    If I know the count of Opened Cursors then, I'll restrict my PL/SQL sps to not execute,and so that, could not open cursors further.....
    Plz mail me if you have any Idea about this.

    Get back to me, If you need clarity on the Question.
    This problem to rectified urgently..

    Thanks.
    Chandra


  2. #2
    Join Date
    Jan 2002
    Location
    Netherlands
    Posts
    1,587
    This will give you how many cursors are opened currently..
    Code:
    SQL> select name, value from v$sysstat
      2  where name='opened cursors current';
    
    NAME                                                                  VALUE
    ---------------------------------------------------------------- ----------
    opened cursors current                                                   11

    cheers!!
    Tarry Singh
    I'm a JOLE(JavaOracleLinuxEnthusiast)
    TarryBlogging
    --- Everything was meant to be---

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