前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >OCP-052考试题库汇总(29)-CUUG内部解答版

OCP-052考试题库汇总(29)-CUUG内部解答版

原创
作者头像
用户5892232
修改2019-08-13 14:24:36
2340
修改2019-08-13 14:24:36
举报

When does an incremental checkpoint occur ?

A)when an online redo log switch occurs.

B)when DBWn writes dirty buffers as part of its normal processing.

C)when the ALTER SYSTEM CHECKPOINT statement is executed.

D)when a user tablespace is tabken offline.

Answer: B

CUUG:但从 8i 开始,oracle 在 log switch 的时候做的是增量检查点,但从严格意义上来说并不能完全算是增量检查点,因为在 log switch 的时候,不仅会像增量检查点那样更新控制文件,而且还会像完全检查点那样会更新数据文件头(做过实验,会更新数据文件头,当 switch logfile 的时候)。

冉:A 答案应该换成 B 答案。以文档描述为准。

An incremental checkpoint is a type of thread checkpoint partly intended to avoid writing large numbers of blocks at online redo log switches. DBWn checks at least every three seconds to determine whether it has work to do. When DBWn writes dirty buffers, it advances the checkpoint position, causing CKPT to write the checkpoint position to the control file, but not to the data file headers.

赵:

DBWn 进程触发 4 个条件:

1.每隔 3 秒钟启动一次 DBWn。

2.发生 CKPT 检查点进程(包括增量检查点和完全检查点)。

3.如果脏数据块的总数超过一定的限度。

4.当进程在 LRU 链表上查找可以用得 buffer header 时,扫描到一定限度,会触发 DBWn。

注意:CKPT 与 DBWn 是配合使用

用户 commit 与 rollback 是对 LGWR 起作用。

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

如有侵权,请联系 cloudcommunity@tencent.com 删除。

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

如有侵权,请联系 cloudcommunity@tencent.com 删除。

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档