v$open_cursor 中纪录的不光是打开的游标数目,还有cached 的游标
所以要统计真实的打开的游标数据,需要查看
select * from v$sesstat a,v$statname b
where a.STATISTIC#=b.STATISTIC# and b.NAME='opened cursors current';[@more@]v$open_cursor 中纪录的不光是打开的游标数目,还有cached 的游标
所以要统计真实的打开的游标数据,需要查看
select * from v$sesstat a,v$statname b
where a.STATISTIC#=b.STATISTIC# and b.NAME='opened cursors current';
所以要统计真实的打开的游标数据,需要查看
select * from v$sesstat a,v$statname b
where a.STATISTIC#=b.STATISTIC# and b.NAME='opened cursors current';[@more@]v$open_cursor 中纪录的不光是打开的游标数目,还有cached 的游标
所以要统计真实的打开的游标数据,需要查看
select * from v$sesstat a,v$statname b
where a.STATISTIC#=b.STATISTIC# and b.NAME='opened cursors current';
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/133835/viewspace-1021099/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/133835/viewspace-1021099/