RAC雙節點,其中一個節點突然出現log file sync等待,且就是固定的幾個回話,回話一直存在不結束,於是手動刪掉:
select 'alter system kill session ''' || sid|| ',' || serial# || ''' immediate;' from gv$session where event = 'log file sync';
但是有部分回話提示:ora-00030:User session ID does not exists; 確認會話都在第一個節點上:
而且使用emcc 也是報這個錯誤:
於是從操作系統層面殺掉回話:
select spid, osuser, s.program
from v$session s, v$process p
where s.paddr = p.addr
and s.sid =2350;
登錄超出系統:
kill -9 spid