关于open_cursors 的调整
Linux AS 5.3 , Oracle10.2.0.4 , RAC
下面的图片是在一个实例上查询到的客户端程序打开的游标数,我们设置
的每个实例游标最大为 open_cursors = 1000 , 是否需要增加 ? 程序
中怎么会控制的这么好,到 999 就不增加了, 不过也没有看到程序报错 .
select a.value,
s.username,
s.sid,
s.serial# ,
s.program ,
s.machine
from
v$sesstat a,
v$statname b,
v$session s
where
a.statistic# = b.statistic# and
s.sid=a.sid and
b.name = 'opened cursors current'
order by value desc;

open_cursors.jpg
下面的图片是在一个实例上查询到的客户端程序打开的游标数,我们设置
的每个实例游标最大为 open_cursors = 1000 , 是否需要增加 ? 程序
中怎么会控制的这么好,到 999 就不增加了, 不过也没有看到程序报错 .
select a.value,
s.username,
s.sid,
s.serial# ,
s.program ,
s.machine
from
v$sesstat a,
v$statname b,
v$session s
where
a.statistic# = b.statistic# and
s.sid=a.sid and
b.name = 'opened cursors current'
order by value desc;
open_cursors.jpg
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/35489/viewspace-631801/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/35489/viewspace-631801/