M.N Asked: 2009-06-18 21:21:32 +0800 CST2009-06-18 21:21:32 +0800 CST 2009-06-18 21:21:32 +0800 CST 在 Oracle 中查找当前打开的游标 772 查找号码的查询是什么。Oracle 实例中当前打开的游标数? 另外,这些数据的准确性/更新频率是多少? 我正在使用 Oracle 10gR2 oracle oracle10g 2 个回答 Voted Best Answer Nalandial 2009-06-18T21:28:56+08:002009-06-18T21:28:56+08:00 尝试这个: --total cursors open, by session select a.value, s.username, s.sid, s.serial# 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'; 我不确定,但它应该是实时数据。 来自:http ://www.orafaq.com/node/758 sekhar 2009-10-28T22:09:47+08:002009-10-28T22:09:47+08:00 select name, value from v$parameter where upper(name) in ('OPEN_CURSORS') order by name;
尝试这个:
我不确定,但它应该是实时数据。
来自:http ://www.orafaq.com/node/758
select name, value from v$parameter where upper(name) in ('OPEN_CURSORS') order by name;