Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: v$open_cursor
On Thu, 10 Sep 1998 14:17:43 +0100, Tim Palmer <tim_at_cairo.nl> wrote:
>How come if I have open_cursors set to 50 in the init.ora file, the
>number of rows returned when I query v$open_cursor is 72 ? Should this
>be allowed to happen?
Init parameters OPEN_CURSORS sets the limit of open cursors *per session*.
V$OPEN_CURSOR holds the information of all open cursors instance-wide. If you want to check if you are near yor OPEN_CURSORS limit, the following query will give you the information.
SELECT sid, user_name, COUNT(*) "Cursors per session"
FROM v$open_cursor
GROUP BY sid, user_name;
>Tim
HTH,
--
Jurij Modic <jmodic_at_src.si>
Certified Oracle7 DBA (OCP)