ORACLE不定时地报Ora-06502,ora-06512错误

xingzhi 2006-09-11 11:50:21
我在一个.Net开发的Web系统中有几个调用Oracle存储过程,并使用ref cursor返回数据集的页面,经常不定时地报出Ora-06502,ora-06512错误,这个错误通常不做任何处理将在十几分钟后恢复,或者重新编译存储过程后,恢复。
这几个存储过程在Pl/sql中都是通过的。很奇怪。

系统已经运行了半年左右,一直没有这个错误,是最近才出现的,开始几天出一次,后来每天都出现几次。似乎更使用的频率有关。通常周末两天间隔的时间要长一些,工作日间隔的时间短一些。

在一些论坛中看到说同oracle的一个bug 4015165有关,但是还不能确定。不知有没有朋友有过这方面的经验?

我们Oracle的版本是9.2.0.6.
...全文
778 8 打赏 收藏 转发到动态 举报
写回复
用AI写文章
8 条回复
切换为时间正序
请发表友善的回复…
发表回复
LGQDUCKY 2006-09-20
  • 打赏
  • 举报
回复
是呀,客户端尽量不要使用比数据库版本高的版本~
小兽 2006-09-18
  • 打赏
  • 举报
回复
ORA-06502 PL/SQL: numeric or value error string

Cause: An arithmetic, numeric, string, conversion, or constraint error occurred. For example, this error occurs if an attempt is made to assign the value NULL to a variable declared NOT NULL, or if an attempt is made to assign an integer larger than 99 to a variable declared NUMBER(2).

Action: Change the data, how it is manipulated, or how it is declared so that values do not violate constraints.
-------------------------
ORA-06512 at string line string

Cause: Backtrace message as the stack is unwound by unhandled exceptions.

Action: Fix the problem causing the exception or write an exception handler for this condition. Or you may need to contact your application administrator or database administrator
xingzhi 2006-09-18
  • 打赏
  • 举报
回复
问题解决了,是由于Oracle客户端版本的问题,都使用10.1的版本就好了。
谢谢各位。
LinZhongBao 2006-09-13
  • 打赏
  • 举报
回复
是否可以在服务器上同时装10.1和10.2的客户端?
------------------------------------

应该不行的吧!
  • 打赏
  • 举报
回复
系统使用久了,性能和强壮性方面出问题了吧.
找个时间维护一下,倒倒数据
wiler 2006-09-12
  • 打赏
  • 举报
回复
所有补丁都升级了吗
xingzhi 2006-09-12
  • 打赏
  • 举报
回复
是否可以在服务器上同时装10.1和10.2的客户端?
xingzhi 2006-09-12
  • 打赏
  • 举报
回复
我的应用服务器的使用的Oracle客户端版本是10.2.0,而程序开发是用的10.1.0,不知这有没有影响

17,086

社区成员

发帖
与我相关
我的任务
社区描述
Oracle开发相关技术讨论
社区管理员
  • 开发
  • Lucifer三思而后行
  • 卖水果的net
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧