Oracle体系结构及备份(八)sga-log_buffer
内容导读
互联网集市收集整理的这篇技术教程文章主要介绍了Oracle体系结构及备份(八)sga-log_buffer,小编现在分享给大家,供广大互联网技能从业者学习和参考。文章包含2016字,纯文字阅读大概需要3分钟。
内容图文
![Oracle体系结构及备份(八)sga-log_buffer](/upload/InfoBanner/zyjiaocheng/535/4b1a53c947a3432fa3c95b656cc73019.jpg)
一 什么是Log Buffer Log Buffer ,重做日志缓冲区,暂存数据库中所有数据块的改变。内存管理方法是 FIFO 。重做日志被用于提供数据恢复功能,暂存重做日志的目的是为了提高语句的执行速度。大小由参数 LOG_BUFFER 决定,但这个内存不能动态调整大
一 什么是Log Buffer
Log Buffer,重做日志缓冲区,暂存数据库中所有数据块的改变。内存管理方法是FIFO。重做日志被用于提供数据恢复功能,暂存重做日志的目的是为了提高语句的执行速度。大小由参数LOG_BUFFER决定,但这个内存不能动态调整大小。
log buffer space
This event occurs when server processes are waiting for free space in the log buffer, because all the redo is generated faster than LGWR can write it out.
Actions
Modify the redo log buffer size. If the size of the log buffer is already reasonable, then ensure that the disks on which the online redo logs reside do not suffer from I/O contention. The log buffer space wait event could be indicative of either disk I/O contention on the disks where the redo logs reside, or of a too-small log buffer. Check the I/O profile of the disks containing the redo logs to investigate whether the I/O system is the bottleneck. If the I/O system is not a problem, then the redo log buffer could be too small. Increase the size of the redo log buffer until this event is no longer significant.
二 操作示例
--不能被sga_target自动管理,需要手动设置 --1M——2M,不能设置太大,也不需设置太大 SQL> show parameter log_buffer; NAME TYPE VALUE ------------------------------------ ----------- ------------------------------ log_buffer integer 2923520 SQL> SELECT 2923520/1024/1024 FROM dual; 2923520/1024/1024 ----------------- 2.78808594
三 总结
1.Log Buffer,重做日志缓冲区,暂存数据库中所有数据块的改变。
2.可以通过参数log_buffer查询日志缓冲区的大小。
我的邮箱:wgbno27@163.com 新浪微博:@Wentasy27 微信公众平台:JustOracle(微信号:justoracle) IT交流群:336882565(加群时验证 From CSDN XXX) Oracle交流讨论组:https://groups.google.com/d/forum/justoracle By Larry Wen
@Wentasy |
内容总结
以上是互联网集市为您收集整理的Oracle体系结构及备份(八)sga-log_buffer全部内容,希望文章能够帮你解决Oracle体系结构及备份(八)sga-log_buffer所遇到的程序开发问题。 如果觉得互联网集市技术教程内容还不错,欢迎将互联网集市网站推荐给程序员好友。
内容备注
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 gblab@vip.qq.com 举报,一经查实,本站将立刻删除。
内容手机端
扫描二维码推送至手机访问。