gc buffer busy/gcs log flush sync与log file sync

本文探讨了在RAC环境中,GC缓冲区繁忙(gc buffer busy)事件与日志文件同步(log file sync)之间的关系。Oracle的ADDM建议,当遇到'log file sync'等待事件导致'gc buffer busy'时,应优先解决日志文件同步问题,因为这可能由硬件因素如存储、板卡或链路造成。GC当前块繁忙等待时间由PIN时间、刷新时间和发送时间组成,其中日志刷新时间对整体服务时间影响显著。同时,'gc buffer busy acquire/release'是并发访问同一数据块时产生的衍生等待。优化日志IO性能对于RAC系统的整体性能至关重要。
摘要由CSDN通过智能技术生成

这篇博文整理自我的帖子: RAC中的gc current block busy与redo log flush

 

对于log file sync(本质上是 write redolog慢)引发gc buffer busy acquire /release 集群等待事件的这个命题的真伪,其实Oracle在开发性能调优组件ADDM时一早给了我们答案:

 

RECOMMENDATION 2: Host Configuration, 12% benefit (507182 seconds)
ACTION: Investigate the possibility of improving the performance of I/O
to the online redo log files.
RATIONALE: The average size of writes to the online redo log files was
40 K and the average time per write was 10 milliseconds.

ADDITIONAL INFORMATION:

Waits on event “log file sync” were the cause of significant database
wait on “gc buffer busy” when releasing a data block. Waits on event
“log file sync” in this instance can cause global cache contention on
remote instances.

 

如果你在ADDM(?/rdbms/admin/addmrpt)中找到上述文字,那么基本可以确认gc buffer busy的源头是log file sync(虽然本质上不是),那么优先解决

  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值