How to deal with ORACLE lock table
see which table is locked
SELECT B.OWNER, B.OBJECT_NAME, A.SESSION_ID, A.LOCKED_MODE
FROM V$LOCKED_OBJECT A, DBA_OBJECTS B
WHERE B.OBJECT_ID = A.OBJECT_ID;
execute sql
select *
from v$session t1, v$locked_object t2
where t1.sid = t2.SESSION_ID;
If there is a record indicating that there is LOCK, record the SID and serial#,
replace the recorded ID with the following SID, serial, and the LOCK can be released
alter system kill session '293,37453';
To log in with system account