当前位置:Gxlcms > 数据库问题 > ORACLE-游标数

ORACLE-游标数

时间:2021-07-01 10:21:17 帮助过:2人阅读

、查看系统配置游标数 select value from v$parameter where name = open_cursors; 2、查看游标使用情况 select o.sid, osuser, machine, count(*) num_curs from v$open_cursor o, v$session s where user_name = XFTEST and o.sid=s.sid group by o.sid, osuser, machine order by num_curs desc; 3、根据游标占用情况分析访问数据库的程序在资源释放上是否正常,如果程序释放资源没有问题,则加大游标数。 alter system set open_cursors=2000 scope=both;

 

ORACLE-游标数

标签:

人气教程排行