ORA-02049: timeout: distributed transaction waiting for lock
target : 11.2.0.3
aux: 11.2.0.1
linkdb:
SP執行於11.2.0.3版本,通過link執行如下sql
oracle對ora-02049解釋:
問題處理過程以及分析:
SELECT /*+ RULE */
LPAD (' ', DECODE (L.XIDUSN, 0, 3, 0)) || L.ORACLE_USERNAME
USER_NAME,
O.OWNER,
O.OBJECT_NAME,
O.OBJECT_TYPE,
S.SID,
S.SERIAL#,
S.USERNAME,S.OSUSER,S.MACHINE,S.LOGON_TIME
FROM V$LOCKED_OBJECT L, DBA_OBJECTS O, V$SESSION S
WHERE L.OBJECT_ID = O.OBJECT_ID AND L.SESSION_ID = S.SID
AND O.OBJECT_NAME='MASTER_HR_H_INFO'
ORDER BY O.OBJECT_ID, XIDUSN DESC;
kill -9
aux: 11.2.0.1
linkdb:
SP執行於11.2.0.3版本,通過link執行如下sql
oracle對ora-02049解釋:
問題處理過程以及分析:
SELECT /*+ RULE */
LPAD (' ', DECODE (L.XIDUSN, 0, 3, 0)) || L.ORACLE_USERNAME
USER_NAME,
O.OWNER,
O.OBJECT_NAME,
O.OBJECT_TYPE,
S.SID,
S.SERIAL#,
S.USERNAME,S.OSUSER,S.MACHINE,S.LOGON_TIME
FROM V$LOCKED_OBJECT L, DBA_OBJECTS O, V$SESSION S
WHERE L.OBJECT_ID = O.OBJECT_ID AND L.SESSION_ID = S.SID
AND O.OBJECT_NAME='MASTER_HR_H_INFO'
ORDER BY O.OBJECT_ID, XIDUSN DESC;
kill -9
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/24867586/viewspace-1253628/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Lock wait timeout exceeded; try restarting transactionAIREST
- ORA-04021: timeout occurred while waiting to lock objectWhileAIObject
- ORA-04021,timeout occurred while waiting to lock objectWhileAIObject
- 'Lock wait timeout exceeded; try restarting transaction'問題AIREST
- Lock wait timeout exceeded; try restarting transaction引數控制AIREST
- MySql報錯:Lock wait timeout exceeded: try restadina transactionMySqlAIREST
- ERROR 1205 (HY000): Lock wait timeout exceeded; try restarting transactionErrorAIREST
- Waiting for table metadata lockAI
- 【SQLServer】linked server "" was unable to begin a distributed transaction.SQLServer
- TX鎖(Transaction Lock)分析 (zt)
- 鎖:innodb_lock_wait_timeout和 innodb_rollback_on_timeout?AI
- MySQL5.7 Waiting for global read lockMySqlAI
- create table if not exists Waiting for table metadata lockAI
- Oracle 11G ddl_lock_timeoutOracle
- MySQL新增索引偶遇waiting for table metadata lockMySql索引AI
- MySQL DDL Waiting for table metadata lock 解決MySqlAI
- MySQL更新卡住報錯lock wait timeoutMySqlAI
- Timeout (30000 milliseconds) waiting for the OracleService service to connect.AIOracle
- Oracle OCP 1Z0 053 Q423(distributed resumable transaction)Oracle
- Another app is currently holding the yum lock; waiting for it to exit...APPAI
- Unable To Initiate A Distributed Transaction From Sql Server on Windows 2003 SP1SQLServerWindows
- mysql, Lock wait timeout exceeded; try restarting 解決MySqlAIREST
- 【11g新特性】DDL_LOCK_TIMEOUT的作用
- 設定 ddl_lock_timeout來避免truncate 報錯
- MySQL:簡單記錄一下Waiting for commit lockMySqlAIMIT
- Oracle 11g DDL_LOCK_TIMEOUT引數說明Oracle
- yum 提示 Another App is currently holding the yum lock; waiting for it to exit...APPAI
- oracle資料庫事務transaction 不同的鎖lock型別Oracle資料庫型別
- oracle資料庫事務transaction鎖lock模式思考之一Oracle資料庫模式
- oracle事務transaction鎖lock一點兒小思考或總結Oracle
- Oracle 11g DDL 的 wait選項(DDL_LOCK_TIMEOUT)OracleAI
- 當匯入flutter專案時,報Waiting for another flutter command to release the startup lockFlutterAI
- Another app is currently holding the yum lock; waiting for it to exit...另一個應用程式在佔用yum lock,等待其退出。APPAI
- 深入理解mysqldump原理 --single-transaction --lock-all-tables --master-dataMySqlAST
- 設定mysql 事務鎖超時時間 innodb_lock_wait_timeoutMySqlAI
- ora-02049解決一例
- Principles of Distributed Ledgers
- mysql死鎖deadlock相關幾個系統變數innodb_lock_wait_timeoutMySql變數AI