1、查询被锁的session
select session_id from v$locked_object;
2、找到相关session的信息
SELECT sid, serial#, username, osuser FROM v$session where sid = 198;
3、杀掉session
ALTER SYSTEM KILL SESSION '198,5890';