Redo Write Size

redo writes的大小是变化的,与要写的the amount of redo有关。


8i开始,LGWR试图避免等待向log buffer的不完全拷贝(也就是不等待正向log buffer拷贝redo的完成)。因此,对于后台写(3秒或1/3满),lgwr写到redo thread的末尾,或者到不包含持有redo copy latch redo record的最后一个块。对于COMMIT and DBWn sync writes,如果低于sync RBAredo record依然持有redo copy latch,那么lgwr使用特殊的LGWR wait for redo copy event等待该latchLgwr does not attempt to take the latch, and thus does not wait for it directly under the latch free event.其后,lgwr至少写到需要同步的the highest redo block,并且possibly further subject to the retention of redo copy latches over subsequent redo records.

Lgwr不强迫the size of its writesmaximum physical I/O size.在单次写操作中,他写所有redo,并且如果必要的话,允许操作系统使用multiple physical writes完成写请求。

写出的total number of log blocks累计在system statisticredo blocks writtenThe number of redo writes累计在system statisticredo writes这两个统计能够用来计算average redo write size.统计计算脚本:

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/9599/viewspace-472953/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/9599/viewspace-472953/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值