ENABLING TABLE LOCK FAILS WITH ORA-00054 DUE TO PENDING DISTRIBUTED TRANSACTIONS
(Doc ID 1301281.1)
Last updated on FEBRUARY 12, 2020
Applies to:Oracle Database - Enterprise Edition - Version 126.96.36.199 and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Information in this document applies to any platform.
Enabling table DDL lock fails with the ORA-00054 error
alter table test enable table lock
ERROR at line 1:
ORA-00054: resource busy and acquire with NOWAIT specified or timeout expired
There are no blocking sessions in the database.
A restart of the database, even in RESTRICT mode, does not resolve the issue.
A check of the DBA_2PC VIEWS reveals that there are pending distributed transactions to be recovered.
SELECT * FROM DBA_2PC_NEIGHBORS;
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document