LGWR writes redo log (117)
LGWR writes synchronously to the active mirrored group of redo log files. If one of
the files in the group is damaged or unavailable, LGWR continues writing to other
files in the group and logs an error in the LGWR trace file and in the system alert log.
If all files in a group are damaged, or the group is unavailable because it has not been
archived, LGWR cannot continue to function.
When a user issues a COMMIT statement, LGWR puts a commit record in the redo log
buffer and writes it to disk immediately, along with the transaction’s redo entries. The
corresponding changes to data blocks are deferred until it is more efficient to write
them. This is called a fast commit mechanism. The atomic write of the redo entry
containing the transaction’s commit record is the single event that determines the
transaction has committed. Oracle returns a success code to the committing
transaction, although the data buffers have not yet been written to disk.
Note: Sometimes, if more buffer space is needed, LGWR writes redo
log entries before a transaction is committed. These entries become
permanent only if the transaction is later committed.
LGWR同步的寫入到映象的組日誌檔案
如果其中的一個損壞或者不可用 , LGWR寫入組內的另一日誌檔案 , 並記錄錯誤在LGWR跟蹤檔案和系統預警檔案中
如果組內的檔案都被損壞或者不可用 , LGWR則不能繼續工作
fast committed mechanism :當使用者提交commit語句時 , LGWR將提交記錄與事務條目立即寫入磁碟 ,
關聯的資料塊則被推遲直到更加有效時才寫入
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/10599713/viewspace-979917/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Direct I/O and Redo writes.
- LGWR,Log Switches, and Checkpoints
- Redo Log之一:理解Oracle redo logOracle Redo
- 12C開始oracle實現了SCALABLE LGWR多程式並行寫redo logOracle並行
- Log Writer Process (LGWR) (115)
- undo log和redo log
- MySQL:Redo & binlogMySql
- mysql之 redo logMySql
- oracle redo log operationOracle Redo
- MySQL的Redo log 以及Bin logMySql
- standby redo log的理解
- redo_log_switch_date
- redo log file 優化優化
- Oracle redo log重組Oracle Redo
- Oracle Dump Redo Log FileOracle
- MySQL中的redo log和undo logMySql
- MySQL Undo Log和Redo Log介紹MySql
- Redo Log之二:遷移redo log到不同的儲存路徑
- redo的等待log file sync和log file parallel write和redo size設定Parallel
- 【Mysql】三大日誌 redo log、bin log、undo logMySql
- Archive Log模式下Redo Log、Check Point和Switch LogHive模式
- logminer工具對redo log或archive log的挖掘Hive
- MySQL 日誌系統 redo log、binlogMySql
- MySQL重做日誌(redo log)MySql
- MySQL redo log最佳化MySql
- (轉)老白的理解REDO LOG
- redo log日誌挖掘(二)
- redo log日誌挖掘(一)
- 修改oracle redo log的大小Oracle Redo
- 增大redo log檔案大小
- Oracle redo log 常見操作Oracle Redo
- Oracle redo解析之-1、oracle redo log結構計算Oracle Redo
- 使用LOGMNR工具分析Oracle Redo Log和Archive Log教程Oracle RedoHive
- 【REDO】Archived redolog is (significant) smaller than the redologfileHiveNifi
- 聊聊Append、nologging和Redo LogAPP
- InnoDB文件筆記(二)—— Redo Log筆記
- MySQL中的redo log和checkpointMySql
- 線上重建redo log日誌組