zoukankan      html  css  js  c++  java
  • 在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,好使了!

  • 相关阅读:
    HDU 5794
    HDU 5794
    3070 Fibonacci 矩阵快速幂
    数论基础
    hdu 1061 Rightmost Digit 快速幂
    poj 2305 Basic remains java
    poj 1001 Exponentiation
    hdu 2054 A == B ? (java)
    java大数练习
    hdu3018 Ant Trip 欧拉回路
  • 原文地址:https://www.cnblogs.com/Alex-Zeng/p/8584951.html
Copyright © 2011-2022 走看看