Welcome 微信登录

首页 / 数据库 / MySQL / Oracle ORA-01000:maximum open cursors exceeded

Oracle ORA-01000:maximum open cursors exceeded中文错误“超出打开游标的最大数”。
这个错误通常都是由于在程序代码中循环体内放入了statement或preparestatement,而每一个循环结束时并未及时关闭statement或preparestatement。解决方法就是循环体内用完resultset、statement或preparestatement之后,立即执行close()。
 
同时还应考虑扩大数据库服务器的open_cursors的值,
先得到系统默认的游标最大值,
select value from v$parameter where name = "open_cursors";
(或show parameter open_cursors)
使用下面语句更改即可:
alter system set open_cursors=5000 scope=both。Oracle安全管理之概要文件(配置文件)CentOS下phpMyAdmin安装相关资讯      ORA-01000 
  • ORA-01000 解决方法  (10/14/2015 19:31:45)
  • 关于ORA-01000: maximum open   (06/15/2013 11:47:06)
  • 错误 ORA-01000: maximum open   (02/01/2014 08:05:01)
  • ORA-01000: maximum open cursors   (02/27/2013 09:35:11)
本文评论 查看全部评论 (0)
表情: 姓名: 字数