数据库
首页 > 数据库> > oracle ORA-00054

oracle ORA-00054

作者:互联网

oracle ORA-00054

oracle报错: ORA-00054: resource busy and acquire with NOWAIT specified ..

1.1 查看现在有哪些锁

select session_id from v$locked_object;

image

2.1 根据sid查询session的id

SELECT sid, serial#, username, osuser FROM v$session where sid = 1482;

image

3.1 如果短时间内此SQL语句无法完成,且急需重建索引,那么kill此session

ALTER SYSTEM KILL SESSION ‘1482,21138’;

image

标签:1482,session,sid,oracle,00054,ORA
来源: https://www.cnblogs.com/liwenchao1995/p/16575627.html