记录了当前用戶打开了多少个游标

select value from v$sysstat where name='opened cursors current';
查看每个session打开的cursor用
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';
可以把第二句sql的value合计起来,与第一句相等。
“v$open_cursor代表当前session 正打開和分析过的"
请使用浏览器的分享功能分享到微信等