select object_name,machine,s.sid,s.serial# from v$locked_object l,dba_objects o,v$session s where l.object_id=o.object_id and l.session_id=s.sid;
select spid,osuser,s.program from v$session s,v$process p where s.paddr=p.addr and s.sid=66
alter system kill session '66,46515';
select spid,osuser,s.program from v$session s,v$process p where s.paddr=p.addr and s.sid=66
alter system kill session '66,46515';
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/196700/viewspace-1982448/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/196700/viewspace-1982448/