發表文章

目前顯示的是有「Locked Session Kill」標籤的文章

Oracle如何刪除被鎖定(locked)的session

1. 查詢出要刪除的Lock Session ID select a.sid||','||a.serial#,a.machine from v$session a,DBA_DML_LOCKS b where a.sid = b.session_id group by a.sid||','||a.serial#,a.machine; 2. 刪除Session ID alter system kill session 'xxx,yyyy' immediate; (其中, 'xxx,yyy'為第1步查到的資料) * v$session : 使用中session資料 * DBA_DML_LOCKS : Lock Session資料 reference web: http://itgroup.blueshop.com.tw/ZEasyChen/IT?n=convew&i=3806