ORA-00054: 资源繁忙并获取指定的 NOWAIT 或超时过期

2021-12-05 00:00:00 oracle ora-00054

为什么我在更新表时会收到此数据库错误?

Why am I getting this database error when I update a table?

错误在第 1 行:ORA-00054: 资源繁忙并获取指定的 NOWAIT 或超时已过期

ERROR at line 1: ORA-00054: resource busy and acquire with NOWAIT specified or timeout expired

推荐答案

您的表已被某个查询锁定.例如,您可能已执行选择更新"但尚未提交/回滚并触发另一个选择查询.在执行查询之前执行提交/回滚.

Your table is already locked by some query. For example, you may have executed "select for update" and have not yet committed/rollbacked and fired another select query. Do a commit/rollback before executing your query.

相关文章