oracle数据库批量杀会话

当rac环境中节点一会话占满时,我们可以在其他节点批量杀节点一的会话:

 select 'alter system kill session '''||sid||','||SERIAL#||',@1'' immediate;' from gv$session where inst_id=1 and machine='123' ; 

猜你喜欢

转载自blog.csdn.net/hzcyhujw/article/details/85117791
今日推荐