摘要:
1.查找出已被锁定的数据库表及相关的sid、serial#及spidselect object_name as 对象名称,s.sid,s.serial#,p.spid as 系统进程号from v$locked_object l , dba_objects o , v$session s , v$process pwhere l.object_id=o.object_id and l.session_id=s.sid and s.paddr=p.addr;2.在数据库中灭掉相关sessionalter system kill session 'sid,serial#';--si 阅读全文