Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Open Cursors, again
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
![]() |
![]() |