ITPub博客

首页 > 数据库 > Oracle > ora24756问题处理办法(dblink循环调用)

ora24756问题处理办法(dblink循环调用)

原创 Oracle 作者:老w爱db 时间:2022-09-14 22:32:00 0 删除 编辑

问题描述:

  某医院 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:

·  Error May Occur

·  ORA-24756 / ORA-24757

·  Database Link / Distributed

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循环调用(本地取值),问题解决。




来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/70021989/viewspace-2914714/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
数据库技术爱好者

注册时间:2022-09-12

  • 博文量
    75
  • 访问量
    67609