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: Open Cursors, again

Re: Open Cursors, again

From: Jonathan Lewis <jonathan_at_jlcomp.demon.co.uk>
Date: Tue, 15 Apr 2003 00:38:54 -0800
Message-ID: <F001.0058121C.20030415003854@fatcity.com>

One option that may cause this is the
setting for session_cached_cursors.

v$open_cursor can exceed open_cursors
and go up to session_cached_cursors.

Regards

Jonathan Lewis
http://www.jlcomp.demon.co.uk

  The educated person is not the person
  who can answer the questions, but the
  person who can question the answers -- T. Schick Jr

One-day tutorials:
http://www.jlcomp.demon.co.uk/tutorial.html

____UK_______April 22nd
____Denmark__May 21-23rd
____USA_(FL)_May 2nd

Three-day seminar:
see http://www.jlcomp.demon.co.uk/seminar.html

____UK_(Manchester)_May
____Estonia___June (provisional)
____Australia_June (provisional)
____USA_(CA, TX)_August

The Co-operative Oracle Users' FAQ
http://www.jlcomp.demon.co.uk/faq/ind_faq.html

> Richard,
>
> True, you did not suggest a query, but I had one that I retrofitted
with your suggestion:
>
> SELECT USERNAME, A.SID, NVL(OSUSER,'UNKNOWN'), NVL(MACHINE,'*'),
> NVL(PROGRAM, 'UNKNOWN'), value
> FROM V$SESSION A, v$sesstat c
> WHERE value > 0
> and a.sid = c.sid
> and statistic# = 3
> GROUP BY USERNAME, A.SID, OSUSER, MACHINE, PROGRAM;
>
> When I ran this in one of my database with a known cursor limit of
100 I had a number of rows that said there where 300+ cursors open for that session. Obviously something it amiss!!
>

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Jonathan Lewis
  INET: jonathan_at_jlcomp.demon.co.uk

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
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 Apr 15 2003 - 03:38:54 CDT

Original text of this message

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