update超時(shí)可能是由于表或記錄被鎖住導(dǎo)致的? ? 執(zhí)行下面sql查看被鎖住的記錄
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 '131,848';
update超時(shí)可能是由于表或記錄被鎖住導(dǎo)致的? ? 執(zhí)行下面sql查看被鎖住的記錄
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 '131,848';