Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: The number of used cursors?

RE: The number of used cursors?

From: Szecsy Tamas <tszecsy_at_GEOMETRIA.hu>
Date: Tue, 24 Jul 2001 01:47:34 -0700
Message-ID: <F001.00352D66.20010724015534@fatcity.com>

Thank you for the anwers.

If I try Jon's version I get a big number that does not seem to be related to the number of maximum open cursors ( it's much higher).

If I query the V$SQL_CURSOR view, then I get a number the could be the value I look for.

Could some one shed some light on this?

Regards

Tamas Szecsy

-----Original Message-----
Sent: Monday, July 23, 2001 5:29 PM
To: Multiple recipients of list ORACLE-L

Try this:

select sum(value) as open_cursors
  from sys.v_$sesstat s

     , sys.v_$statname n
 where s.statistic# = n.statistic#
   and n.name = 'opened cursors current';

Jon Walthour

>--- Original Message ---
>From: Szecsy Tamas <tszecsy_at_GEOMETRIA.hu>
>To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>
>Date: 7/23/01 9:55:24 AM
>

>Hi,
>
>I would like to know the the number of used cursors at any given
time. Is
>there a select statement that does this for me? I would like
to decide if
>the growing number of concurent users for a given database has
reached the
>point where the maximum open cursor init ora parameter got to
be increased.
>
>Thank you in advance.
>
>Tamas Szecsy
>--
>Please see the official ORACLE-L FAQ: http://www.orafaq.com
>--
>Author: Szecsy Tamas
> INET: tszecsy_at_GEOMETRIA.hu
>
>Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
>San Diego, California -- Public Internet access / Mailing
Lists
>--------------------------------------------------------------------
>To REMOVE yourself from this mailing list, send an E-Mail message
>to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru')
and in
>the message BODY, include a line containing: UNSUB ORACLE-L
>(or the name of mailing list you want to be removed from).
You may
>also send the HELP command for other information (like subscribing).
>

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Jon Walthour
  INET: jonw_at_fuse.net

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Szecsy Tamas
  INET: tszecsy_at_GEOMETRIA.hu

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Tue Jul 24 2001 - 03:47:34 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US