ORA-13668: The current operation was aborted because it was blocking another session.
Cause: The task or object operation interrupted itself when it detected that it was blocking some other session.
Action: Retry the operation when the conflicting operations are not running.
ORA-13668:当一个会话正在阻塞另一个会话时,将中止当前操作。
1、确定锁定会话和锁定对象:
使用V$LOCK视图可以查看会话id,type,mode,object id,object name等相关信息。
2、终止阻塞会话:
找到阻塞会话后,可以使用alter system kill session immediate;命令将其终止。
3、释放锁定:
执行unlock table命令可以释放锁定对象。