ITPub博客

首页 > IT基础架构 > 网络安全 > Log Writer Process (LGWR) (115)

Log Writer Process (LGWR) (115)

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

The log writer process (LGWR) is responsible for redo log buffer
management—writing the redo log buffer to a redo log file on disk. LGWR writes all
redo entries that have been copied into the buffer since the last time it wrote.
The redo log buffer is a circular buffer. When LGWR writes redo entries from the redo
log buffer to a redo log file, server processes can then copy new entries over the entries
in the redo log buffer that have been written to disk. LGWR normally writes fast
enough to ensure that space is always available in the buffer for new entries, even
when access to the redo log is heavy.
LGWR writes one contiguous portion of the buffer to disk. LGWR writes:
■ A commit record when a user process commits a transaction
■ Redo log buffers
– Every three seconds
– When the redo log buffer is one-third full
– When a DBWn process writes modified buffers to disk, if necessary

日志写进程
1. 将重做日志缓冲区的数据写入重做日志
2. 以下情况下 , LGWR开始写:
当用户提交事务 , 每三秒 , 重做日志缓存区1/3满 , 还有可能DBWn写脏modified buffers to disk

[@more@]

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/10599713/viewspace-979912/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
  • 博文量
    740
  • 访问量
    1900135