Cause: Trying to access resource that is locked by a dead two-phase commit transaction that is in prepared state.
Action: DBA should query the DBA_PENDING_TRANSACTIONS and DBA_2PC_PENDING, and attempt to repair network connection(s) to coordinator and commit point. If timely repair is not possible, DBA should contact end user for rollback/commit the transection.
sqlplus / as sysdba;
SQL> SELECT * FROM DBA_2PC_PENDING;
SQL> ROLLBACK FORCE LOCAL_TRAN_ID;
SQL> commit;
SQL> alter system enable distributed recovery;
SQL> execute dbms_transaction.purge_lost_db_entry('LOCAL_TRAN_ID');
SQL > commit;
For more details plese go through this document
No comments:
Post a Comment