通过 v$system_event 或者 在 AWR 报告中可以发现该等待事件非常高。
查找具体的 SQL 语句:
select sql_id, count(*) cnt
from dba_hist_active_sess_history
where snap_id between ??? and ???
and event_id in (1478861578)
group by sql_id
order by 2;
分析该 SQL 语句的执行计划,发现,该语句对表进行全表扫描,成为资源消耗最大的单条 SQL 语句,并导致 RAC 节点间流量非常大,最终导致 gc buffer busy 等待事件非常高。
优化方案: 在表的相关列上创建索引,问题解决。