在oracle RAC 環境下用 PL/SQL Developer debug procedure 出現 hang 的狀況

現象描述:php

  用plsql developer 鏈接編譯procedure 的時候都很正常。一旦開始Test進入Debug模式的時候就Hang住了。node

初步猜想是沒有權限,但是是DBA角色呀,若是沒有權限會直接報沒有權限的錯誤吧。sql

後面猜想是Oracle 或者PL SQL Developer的版本問題,用同一個PLSQL 在相同版本的不一樣機器上測試,結果另一臺機器能夠Debug。session

開始猜想是否是RAC的緣由。app

搜索到這個解釋: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

解釋很靠譜,嘗試鏈接到單個的實例上。ip

測試Debug,好使了!ci

相關文章
相關標籤/搜索