on 08-22-2011 3:14 PM
Hi all,
I am running a consistency check tool, which then give me the ora01000 alert - maximum open_cursors exceeded.
I've tried to increase the parameter value, but seems to be futile.
My questions as below
1. When executing this:
alter system set open_cursors=500 scope=both
is there then a requirement to restart the whole instance including the database?
2. How can we check why there are so many open_cursors and how to "close" them?
Any advice is appreciated.
Hi,
I think you can try to increase the value of prameter OPEN_CURSORS
as mentioned in the note 398927.
As you may already know, "ORA-01000" can be caused when cursors are not
closed in time after an SQL has been executed. I guess it's just because the
consistency check reads a lot of ID objects this time.
Regards,
Aidan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Anyway, I would like to gain more knowledge on this.
When I'm running this :
select user_name, status, osuser, machine, a.sql_text
from v$session b,
v$open_cursor a
where a.sid = b.sid
/
I'm getting a lot of "INACTIVE"... what does it mean by inactive? Meaning it can be removed?
USER_NAME STATUS OSUSER
-
-
-
MACHINE
-
SQL_TEXT
-
SAPSR3DB INACTIVE <sid>adm
<host>
SELECT * FROM "UME_ACL_PERM_MEM" WHERE "OWNERID" = :1 AND "P
Edited by: e.castro on Aug 23, 2011 2:47 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Castro,
is there then a requirement to restart the whole instance including the database?
Nope.
2. How can we check why there are so many open_cursors and how to "close" them?
Check the view V$OPEN_CURSOR
http://download.oracle.com/docs/cd/E11882_01/server.112/e17110/dynviews_2083.htm#i1410256
Is this a consistency check tool provided by SAP? I guess not .. so you got some "bug" in your application.
Regards
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.