摘要: 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 阅读全文
posted @ 2012-07-26 10:14 敌敌 阅读(879) 评论(0) 推荐(0) 编辑