你好,游客 登录 注册 搜索
背景:
阅读新闻

关于设置log buffer 合理大小的几个要点

[日期:2013-10-29] 来源:Linux社区  作者:lixora [字体:大 中 小]

关于设置log buffer 合理大小的几个要点

1,缺省大小  MAX(0.5M, (128K * number of cpus))

2,On most systems, sizing the log buffer  larger than 1M does not provide any

performance benefit.It merely uses extra memory.

3,查看'redo buffer allocation retries' 统计信息

SELECT NAME, VALUE

  FROM V$SYSSTAT

 WHERE NAME = 'redo buffer allocation retries';

The value of  redo buffer allocation retries should be near zero over an interval.    如果相差太大,则需要设设置 log_buffer  大小了

4,log  buffer  space wait even 如果这个等待事件是主要的event 之一,说明log buffer 大小需要考虑下调整下大小了

----log_buffer 参数的修改需要重启服务器才能生效

show parameter log_buffer

alter system set log_buffer=xxx scope=spfile;

相关阅读:

Buffer cache和page cache的区别 http://www.linuxidc.com/Linux/2013-01/78140.htm

Linux中Buffer cache性能问题一探究竟 http://www.linuxidc.com/Linux/2013-01/77573.htm

Linux下cache和buffer的使用情况 http://www.linuxidc.com/Linux/2013-07/87910.htm

更多Oracle相关信息见Oracle 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=12

linux
相关资讯       log buffer 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款