当rac环境中节点一会话占满时,我们可以在其他节点批量杀节点一的会话:
select 'alter system kill session '''||sid||','||SERIAL#||',@1'' immediate;' from gv$session where inst_id=1 and machine='123' ;
当rac环境中节点一会话占满时,我们可以在其他节点批量杀节点一的会话:
select 'alter system kill session '''||sid||','||SERIAL#||',@1'' immediate;' from gv$session where inst_id=1 and machine='123' ;