首页 > IT基础架构 > 网络安全 > LGWR writes redo log (117)

LGWR writes redo log (117)

原创 网络安全 作者:tsinglee 时间:2007-10-31 11:00:26 0 删除 编辑

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则不能继续工作
fast committed mechanism :当用户提交commit语句时 , LGWR将提交记录与事务条目立即写入磁盘 ,


来自 “ ITPUB博客 ” ,链接:,如需转载,请注明出处,否则将追究法律责任。

下一篇: user commit (118)
请登录后发表评论 登录
  • 博文量
  • 访问量