问题描述:
某医院 7 月 18 日早 10 : 00 左右出现客户端连接数据库服务器卡死现象,重启数据库后问题处理,alert日志出现 ora-24756 报错。

mos文档描述如下:
References
Bug:24406027
(This link will only work for PUBLISHED bugs)
Note:245840.1
Information on the sections in this article
|
Symptoms: |
Related To: |
|
· ORA-24756 / ORA-24757 |
Description
If multiple database links were used from one database to anotther, and if
one of them had a connection failure or similar error, then in some cases after
commit, RECO would loop reporting ORA-24756.
11.2.0.1bug 描述与其他数据库 Dblink 连接失败
SOLUTION
The only workaround was to restart the instance. ( 出现问题只能重新启动实例 )
当日晚,现场工程师反馈,查询某视图hang住了
查找等待事件并定位到相应sql


出现问题原因为,数据库A中建立的视图采用dblink连接数据库B中的视图,而在查看数据库B的视图创建语句时发现又在使用dblink调用数据库A的视图。因此造成循环调用,导致数据库Hang住。
处理方法:与数据库B的业务开发人员了解调用的场景,并协助修改视图调用,去掉dblink循环调用(本地取值),问题解决。