在oracle RAC 环境下用 PL/SQL Developer debug procedure 出现 hang 的情况

现象描述:

  用plsql developer 连接编译procedure 的时候都很正常。一旦开始Test进入Debug模式的时候就Hang住了。

初步猜测是没有权限,可是是DBA角色呀,如果没有权限会直接报没有权限的错误吧。

后面猜测是Oracle 或者PL SQL Developer的版本问题,用同一个PLSQL 在相同版本的不同机器上测试,结果另外一台机器可以Debug。

开始猜测是不是RAC的原因。

搜索到这个解释:http://forums.allroundautomations.com/ubb/ubbthreads.php?ubb=showflat&Number=47544

The Oracle Debug API (sys.dbms_debug) internally uses dbms_pipe messages to communicate between the controlling session and the debug session, which apparently can fail on RAC systems.
The only workaround is to modify the tnsnames.ora file to connect to only 1 node of the cluster without load balancing and failover.

解释很靠谱,尝试连接到单个的实例上。

测试Debug,好使了!

转载于:https://www.cnblogs.com/Alex-Zeng/p/8584951.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值