教学文章
Technology Exchange
热门课程
400电话

免费咨询热线
400-090-9964

教学文章

Oracle 11g OCP认证052考试题库(29)-CUUG内部学员版

时间:2019-08-15 来源:

11g版本的OCP考试持续了好几年,一直比较稳定,直到2018年4月份左右,052考试不断的出现新的考题,虽然我们收集整理了不少,但新题还是难避免,这样出现一部分新题,我们收集一部分,持续了不短的时间。

对于这些052考试新题,不仅老师给出了答案,学员也积极的找资料、查文档,形成了一份内部综合版本,通过分数非常高,一起渡过这次052考试的难关。

-----------------------------------------------

052考试题-29(OCP考试题库讨论群:101-5267-481 验证:ocp)

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 起作用。

版权所有@北京神脑资讯技术有限公司(CUUG,中国UNIX用户协会) Copyright ALL Rights Reserved 京ICP备11008061号-1

CUUG旗下网站:www.cuug.com.cn www.cuug.com oracle.cuug.com bbs.cuug.com www.cuug.net

电话:010-59426307 010-59426319 邮政编码:100089

地址:北京市海淀区北清路164号28-38号院