a、 找到你要杀掉的那个session, 并记下paddr
select sid, username, paddr, status from v$session
where username = '用户名' and
status = 'INACTIVE';
b、 找到这个session所对应的spid
select * from v$process where addr = '上面查寻的paddr';
c、 杀掉spid所标识的那个进程
C:>orakill sid spid
sid:v$session
spid:v$process[@more@]
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/14926/viewspace-804205/
,如需转载,请注明出处,否则将追究法律责任。