- 最后登录
- 2016-6-23
- 在线时间
- 14 小时
- 威望
- 3
- 金钱
- 21
- 注册时间
- 2012-3-8
- 阅读权限
- 10
- 帖子
- 20
- 精华
- 0
- 积分
- 3
- UID
- 284
|
3#
发表于 2012-3-9 16:47:02
我理解是这样的,
REDO LOG 文件在被重用时,系统要保证被这个REDO 文件保护的缓冲区里被修改的数据已经被写到磁盘里去了。
11G 的概念文档里关于redo log 有这一段:
Filled online redo log files are available for reuse depending on the archiving mode:
■ If archiving is disabled, which means that the database is in NOARCHIVELOG mode,
then a filled online redo log file is available after the changes recorded in it have
been checkpointed (written) to disk by database writer (DBWn).
■ If archiving is enabled, which means that the database is in ARCHIVELOG mode,
then a filled online redo log file is available to log writer after the changes have been written to the data files and the file has been archived.
In some circumstances, log writer may be prevented from reusing an existing online
redo log file. For example, an online redo log file may be active (required for instance
recovery) rather than inactive (not required for instance recovery). Also, an online
redo log file may be in the process of being cleared. |
|