请问CKPT都做什么工作?

[复制链接]
查看11 | 回复4 | 2005-2-28 12:57:00 | 显示全部楼层 |阅读模式
是否是:
触发DBWR,
将dirty database buffer中已经记入log file(log buffer?)
的data写进data file中.
每次CKPT触发DBWR写多少dirty,由fast_start_io_target指定.

回复

使用道具 举报

千问 | 2005-2-28 12:57:00 | 显示全部楼层
写数据文件,控制文件的文件头。更新SCN。
回复

使用道具 举报

千问 | 2005-2-28 12:57:00 | 显示全部楼层
CKPT触发的DBWR与正常的DBWR没有区别吗?
好象还有个fast_start_io_target参数控制。
回复

使用道具 举报

千问 | 2005-2-28 12:57:00 | 显示全部楼层
Checkpoints help to reduce the time required for instance recovery.It do following things:
1. A checkpoint is an event that flushes the modified data from the buffer cache to the disk and updates the control file and data files.
2.The checkpoint process (CKPT) updates the headers of data files and control files; the actual blocks
are written to the file by the DBWn process.
3.beforeDBRn process,the LGWR write log buffer to log files.
So from the above, you can see the difference between them, the CKPT updates the heads of data files and control files and DBRndon't.
回复

使用道具 举报

千问 | 2005-2-28 12:57:00 | 显示全部楼层
Learn to speak the correct language. What do you think a DBWR is? It's a background process, not the action of writing.
BTW, ever since Oracle started to support multiple DB Writers, it's slightly better to say DBWn than DBWR to refer to the DB Writers in general, even better if you could use italic font for "n" after "DBW".
Yong Huang
最初由 33281 发布
[B]CKPT触发的DBWR与正常的DBWR没有区别吗?
好象还有个fast_start_io_target参数控制。 [/B]
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行