当执行update语句时突然断网或者使用PL/SQL忘记提交事务,会产生记录锁导致该表其他语句都可以执行就是update执行不了
SELECT s.sid, s.serial# FROM v$locked_object lo, dba_objects ao, v$session s WHERE ao.object_id = lo.object_id AND lo.session_id = s.sid;
ALTER system KILL session 'SID,serial#'