본문 바로가기

DB

[oracle/ 오라클] ORA-00054: resource busy and acquire with NOWAIT specified or timeout expired

ORA-00054: resource busy and acquire with NOWAIT specified or timeout expired

오라클 에러가 날 경우.

 

select a.sid, a.serial# 
from v$session a, v$lock b, dba_objects c 
where a.sid = b.sid and b.id1=c.object_id and b.type='TM' and c.object_name='테이블명';

# 그리고 알아낸 sid와 serial을 가지고 아래의 명령문을 실행!
alter system kill session '3, 123';

 

 

간단하게 해결후 다시 연동해서 쓰면됩니다 ㅎㅎ

 

 

 

 

출처 ? https://keichee.tistory.com/52