目錄
一 什么是Log Buffer
二 操作示例
三 总结
首頁 資料庫 mysql教程 Oracle体系结构及备份(八)sga-log_buffer

Oracle体系结构及备份(八)sga-log_buffer

Jun 07, 2016 pm 03:08 PM
buffer oracle 體系結構 備份

一 什么是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查询日志缓冲区的大小。

 



<span><span>我的邮箱</span></span><span>:</span>wgbno27@163.com <span> <span>新浪微博</span></span><span>:</span>@Wentasy27
  <span>微信公众平台</span>:JustOracle(微信号:justoracle)
  <span>IT交流群</span>:336882565(加群时验证 From CSDN XXX)
  <span>Oracle交流讨论组</span>:https://groups.google.com/d/forum/justoracle
  <span><strong>By Larry Wen</strong></span>
登入後複製


Oracle体系结构及备份(八)sga-log_buffer Oracle体系结构及备份(八)sga-log_buffer Oracle体系结构及备份(八)sga-log_buffer
@Wentasy
本網站聲明
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn

熱AI工具

Undresser.AI Undress

Undresser.AI Undress

人工智慧驅動的應用程序,用於創建逼真的裸體照片

AI Clothes Remover

AI Clothes Remover

用於從照片中去除衣服的線上人工智慧工具。

Undress AI Tool

Undress AI Tool

免費脫衣圖片

Clothoff.io

Clothoff.io

AI脫衣器

AI Hentai Generator

AI Hentai Generator

免費產生 AI 無盡。

熱門文章

R.E.P.O.能量晶體解釋及其做什麼(黃色晶體)
2 週前 By 尊渡假赌尊渡假赌尊渡假赌
倉庫:如何復興隊友
4 週前 By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island冒險:如何獲得巨型種子
3 週前 By 尊渡假赌尊渡假赌尊渡假赌

熱工具

記事本++7.3.1

記事本++7.3.1

好用且免費的程式碼編輯器

SublimeText3漢化版

SublimeText3漢化版

中文版,非常好用

禪工作室 13.0.1

禪工作室 13.0.1

強大的PHP整合開發環境

Dreamweaver CS6

Dreamweaver CS6

視覺化網頁開發工具

SublimeText3 Mac版

SublimeText3 Mac版

神級程式碼編輯軟體(SublimeText3)

oracle中計算兩個日期之間天數的函數 oracle中計算兩個日期之間天數的函數 May 08, 2024 pm 07:45 PM

oracle中計算兩個日期之間天數的函數

oracle資料庫日誌會保存多久 oracle資料庫日誌會保存多久 May 10, 2024 am 03:27 AM

oracle資料庫日誌會保存多久

oracle資料庫啟動步驟順序為 oracle資料庫啟動步驟順序為 May 10, 2024 am 01:48 AM

oracle資料庫啟動步驟順序為

如何在 PHP 中使用 MySQL 備份和還原? 如何在 PHP 中使用 MySQL 備份和還原? Jun 03, 2024 pm 12:19 PM

如何在 PHP 中使用 MySQL 備份和還原?

oracle中interval的用法 oracle中interval的用法 May 08, 2024 pm 07:54 PM

oracle中interval的用法

oracle中某個字元出現的次數怎麼看出來 oracle中某個字元出現的次數怎麼看出來 May 09, 2024 pm 09:33 PM

oracle中某個字元出現的次數怎麼看出來

oracle資料庫伺服器硬體配置需求 oracle資料庫伺服器硬體配置需求 May 10, 2024 am 04:00 AM

oracle資料庫伺服器硬體配置需求

oracle需要多少內存 oracle需要多少內存 May 10, 2024 am 04:12 AM

oracle需要多少內存

See all articles