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 正打開和分析过的"
查看每个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 正打開和分析过的"
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/14876437/viewspace-557439/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/14876437/viewspace-557439/
303

被折叠的 条评论
为什么被折叠?



