【ORA-00060】 deadlock detected while waiting for resource
昨天搭建DG,在使用rman在備庫進行duplicate:
RMAN>duplicate target database standby nofilenamecheck;
的時候,一直hang住,於是參看警報日誌檔案,發現如下錯誤資訊:
Errors in file /u01/app/oracle/diag/rdbms/sdb/orcl/trace/orcl_ora_8975.trc:
ORA-00060: deadlock detected while waiting for resource
Trace dumping is performing id=[cdmp_20150617065802]
Wed Jun 17 06:58:04 2015
Errors in file /u01/app/oracle/diag/rdbms/sdb/orcl/trace/orcl_ora_8975.trc:
ORA-00060: deadlock detected while waiting for resource
Errors in file /u01/app/oracle/diag/rdbms/sdb/orcl/trace/orcl_ora_8975.trc:
ORA-00060: deadlock detected while waiting for resource
Trace dumping is performing id=[cdmp_20150617065806]
很明顯是產生了死鎖,於是檢視造成當前死鎖的會話:
SQL>select sid,serial#,username from v$session where sid in(select blocking_session from v$session);
SID SERIAL# USERNAME
------- --------- ------------------
17 15 HH
找到會話資訊之後就可以直接kill掉這個session:
SQL>alter system kill session '17,15' immediate;
接著,重新執行duplicate就可以了。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29800581/viewspace-1702433/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 【死鎖】ORA-00060: deadlock detected while waiting for resourceWhileAI
- ORA-00600 "deadlock detected while waiting for resource"WhileAI
- ORA-00060: Deadlock detected(場景模擬)
- 測試庫死鎖診斷DEADLOCK DETECTED ( ORA-00060 )
- ORA-00060: Deadlock detected 模擬死鎖產生與解決方案
- GLOBAL ENQUEUE SERVICES DEADLOCK DETECTEDENQ
- Global Enqueue Services Deadlock detected.ENQ
- 今天遇到的有關ORA-04020: deadlock detected while trying to lock object LBACSYS.LWhileObject
- Oracle Global Enqueue Services Deadlock detected錯誤詳解OracleENQ
- ORA-000060 Deadlock detected 問題解決
- 今天遇到的有關ORA-04020: deadlock detected while trying to lock object LBACSYS.LBAC_EVENTS錯誤WhileObject
- Troubleshooting "Global Enqueue Services Deadlock detected" (Doc ID 1443482.1)ENQ
- select for update語句造成ORA-00060 deadlock死鎖問題分析
- Oracle優化案例-Bug 32852504 - ORA-60 deadlock detected(三十六)Oracle優化
- ORA-04021: timeout occurred while waiting to lock objectWhileAIObject
- ORA-04021,timeout occurred while waiting to lock objectWhileAIObject
- ORA-25254: time-out in LISTEN while waiting for a message 解決WhileAI
- win 10.1下 ORA-25254: time-out in LISTEN while waiting for a messageWhileAI
- What is a deadlock and how does one fix deadlock errors?Error
- mysql deadlockMySql
- deadlock exceptionException
- Deadlock Overview and DiscussionView
- 死鎖_DeadLock_示例
- Java 迴圈 - for, while 及 do…whileJavaWhile
- IPC Send timeout detected
- while迴圈以及do while迴圈While
- ORA-00060的示例與若干場景
- Laravel Resource Routes和API Resource Routes講解LaravelAPI
- 【DEADLOCK】Oracle“死鎖”模擬Oracle
- NBU detected IBM drives as unusableIBM
- Right here waitingAI
- Oracle Executable Binary Mismatch DetectedOracle
- Java:運用while()與do....while與for()JavaWhile
- Java迴圈結構-for,while及do…whileJavaWhile
- Java while和do while迴圈詳解JavaWhile
- 【譯】Resource Hints
- RESOURCE_LIMITMIT
- do-while語句和while的區別While