1.通过此语句查询正在锁定的SESSION_ID:
SELECT distinct SESSION_ID FROM V$LOCKED_OBJECT,USER_OBJECTS
WHERE V$LOCKED_OBJECT.OBJECT_ID = USER_OBJECTS.OBJECT_ID
2.通过第一步查询到的SESSION_ID查询SERIAL#:
622
928
617
SELECT SERIAL# FROM V$SESSION WHERE SID='622'
3.根据1,2步查询到的SESSION_ID和SERIAL#执行:
ALTER SYSTEM KILL SESSION '622,315' (48为SESSION_ID的值, 2476为SERIAL#的值)
ALTER SYSTEM KILL SESSION '143,60'
标签:622,nowait,OBJECT,指定,SESSION,oracle,SERIAL,ID
From: https://www.cnblogs.com/route/p/17554512.html