社区
Sybase
帖子详情
在不改init.ora的前提下,如何解决ORA-01000 maximum open cursors exceeded?
offsider
2002-05-10 04:38:45
我的init.ora中open_cursor已经到了1500个了,还是会报这个错误,这种错误是怎么产生的?有没有办法强制释放sql语句的cursor?
...全文
222
13
打赏
收藏
在不改init.ora的前提下,如何解决ORA-01000 maximum open cursors exceeded?
我的init.ora中open_cursor已经到了1500个了,还是会报这个错误,这种错误是怎么产生的?有没有办法强制释放sql语句的cursor?
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
13 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
tfp
2002-07-01
打赏
举报
回复
动态游标如何释放?
declare
t_cur is ref cursor;
begin
rst t_cur ;
sqlview := 'select * from table ';
open rst for sqlview;
/* how to close the rst */
???
end ;
developer2002
2002-07-01
打赏
举报
回复
还是要检查程序,open_cursors再设置多大,程序不关,总没有办法
ATCG
2002-07-01
打赏
举报
回复
动态游标(即游标变量)和静态游标的关闭是一样的,没有区别。
Close Cursor_Name;
3yugui
2002-07-01
打赏
举报
回复
procedure p_CLOSE(
p_dd in out t_cursor)
is
begin
IF P_DD%ISOPEN THEN
CLOSE p_dd;
END IF;
end;
end;
tfp
2002-07-01
打赏
举报
回复
It is a function that will be return a result .
when client application call the function repeat 10000 will taken
error as ORA-01000: maximum open cursors exceeded
how to do ?
tfp
2002-07-01
打赏
举报
回复
please give code , thanks
I use the following code to close , but it not work
eg
if rst%isOpen then
close rst
end if ;
the code never execute why ?
xinpingf
2002-07-01
打赏
举报
回复
学习
blue__star
2002-07-01
打赏
举报
回复
在程序中CLOSE()
或再连接池中控制游标的关闭
thingsfly
2002-05-10
打赏
举报
回复
隐式的cursor会自动关闭的啊。
主要是显示的cursor的关闭。
尤其是在自己定义的过程和函数里。
jlandzpa
2002-05-10
打赏
举报
回复
SDT(众人皆醒我独醉) :可能性很大.
offsider
2002-05-10
打赏
举报
回复
to KingSunSha(弱水三千)
我想知道的就是如何关闭隐式的cursor,显式的cursor很简单,但隐式的我不知道怎么在执行完毕后关闭cursor
KingSunSha
2002-05-10
打赏
举报
回复
请注意:除了是显式定义的cursor,还要注意隐式cursor,一句select ...就是一个隐式cursor。所以请检查你的代码。
SDT
2002-05-10
打赏
举报
回复
是不是在程序中忘了close,否则应该能满足啊。
建议检查程序,在异常处理中记得close。
超出打开游标的最大数的原因和
解决
方案
本文对
ORA
-
01000
_
max
imum
_
open
_
cursor
s_
exce
eded
_超出打开游标的最大数的原因和
解决
方案有详细描述
ORA
-
01000
max
imum
open
cursor
s
exce
eded
的问题和
解决
方案
执行sql语句时报
ORA
-
01000
max
imum
open
cursor
s
exce
eded
的问题和
解决
方案
java.sql.SQL
Exce
ption:
ORA
-
01000
:
max
imum
open
cursor
s
exce
eded
;问题的
解决
方法
ORA
-
01000
:
max
imum
open
cursor
s
exce
eded
ORA
-00604: error occurred at recursive SQL level 1
ora
-
01000
:
max
imum
open
cursor
s
exce
eded
:表示已经达到一个进程打开的最大游标数。 1.主要原因:Java代码在...
ora
cle
ORA
-
01000
:
max
imum
open
cursor
s
exce
eded
问题的
解决
方法
ORA
-
01000
:
max
imum
open
cursor
s
exce
eded
ORA
-00604: error occurred at recursive SQL level 1
ORA
-
01000
:
max
imum
open
cursor
s
exce
eded
ORA
-00604: error occurred at recursive SQL level 1
ORA
-
01000
: ...
ORA
-
01000
:
max
imum
open
cursor
s
exce
eded
问题 数据库技术知识库 >
ORA
-
01000
:超出打开游标的最大数 > image2021-12-29_18-7-30.png 思路一 1 检查
open
_
cursor
参数和当前
cursor
show parameter
open
_
cursor
s select count(*)from v$
open
_
cursor
;...
Sybase
2,596
社区成员
25,614
社区内容
发帖
与我相关
我的任务
Sybase
Sybase相关技术讨论区
复制链接
扫一扫
分享
社区描述
Sybase相关技术讨论区
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章