To work around this error:
ORA-00054: resource busy and acquire with NOWAIT specified or timeout expired
ensure your DDL does wait a bit longer than the default of NOWAIT seconds:
alter session set ddl_lock_timeout=30
;
alter table TABLE_NAME
modify constraint CONSTRAINT_NAME enable
;
commit
;
via ORACLE-BASE – DDL With the WAIT Option (DDL_LOCK_TIMEOUT) in Oracle Database 11g Release 1.
Filed under: Database Development, Development, OracleDB
