테이블 락 조회
SELECT a.sid, a.serial# FROM v$session a, v$lock b, dba_objects c WHERE a.sid =b.sid AND b.id1 =c.object_id AND b.type='TM';
해당 세션 삭제
- 위에서 조회된 sid, serial#
alter system kill session 'sid,serial#';
SELECT a.sid, a.serial# FROM v$session a, v$lock b, dba_objects c WHERE a.sid =b.sid AND b.id1 =c.object_id AND b.type='TM';
alter system kill session 'sid,serial#';
댓글
댓글 쓰기