티스토리 뷰
1. 어떤 세션이 접근중인지 확인
select a.sid, a.serial# ,a.status
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' and
c.object_name='테이블명' ;
2. 해당 세션 킬
alter system kill session 'sid,serial';
댓글
1. 어떤 세션이 접근중인지 확인
select a.sid, a.serial# ,a.status
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' and
c.object_name='테이블명' ;
2. 해당 세션 킬
alter system kill session 'sid,serial';