Before DBWn can write a modified buffer, all redo records
associated with the changes to the buffer must be written to disk (the
write-ahead protocol). If DBWn finds that some redo records have not
been written, it signals LGWR to write the redo records to disk and
waits for LGWR to complete writing the redo log buffer before it can
write out the data buffers.
写优先协议
当DBWn写出modified buffer之前 , 日志记录中与buffer中相关的需要先写入磁盘 ,
如果DBWn发现有日志记录还没有写出 , 它将通知LGWR将这些日志写入磁盘
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/10599713/viewspace-979914/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/10599713/viewspace-979914/
本文详细解析了数据库系统中DBWN进程在执行修改缓存块写入磁盘操作前,如何确保所有相关的日志记录已先行写入磁盘的过程。此过程遵循写优先协议,即在DBWN执行数据写入之前,必须等待LGWR完成日志记录的写入。
4516

被折叠的 条评论
为什么被折叠?



