问题描述:
在一个Session中执行DML操作,而不提交。这时,在另一个session中truncate table时,会报错:ORA-00054: resource busy and acquire with NOWAIT specified。
解决方法:
提交或者rollback,或者kill session。
以下是Oracles database error messages文档中的描述,感觉作用不大:
ORA-00054: resource busy and acquire with NOWAIT specified or timeout expired
Cause: Interested resource is busy.
Action: Retry if necessary or increase timeout.
参考文章: