首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > 其他数据库 >

ORACLE10G驱除死锁进程

2012-07-27 
ORACLE10G清除死锁进程select Distinct alter system kill session ||chr(39)||b.sid||,||b.serial#||

ORACLE10G清除死锁进程

select Distinct 'alter system kill session '||chr(39)||b.sid||','||b.serial#||chr(39)||';'As 组装语句在RAC执行时区分节点,b.username,b.logon_time

from v$locked_object a,v$session b

where a.session_id=b.sid

order by b.logon_time;;

热点排行