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

简介: 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.

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

目录
相关文章
|
数据安全/隐私保护 关系型数据库 Oracle
OCP-052考试题库汇总(60)-CUUG内部解答版
Examine these facts about a database: The database default tablespace to EXAMPLE. DEFERRED_SEGMENT_CREATION is TRUE (原来为 FALSE,题目有错) Examine these co...
3730 0
|
数据库 存储
OCP-052考试题库汇总(48)-CUUG内部解答版
Which is true about the Automatic Diagnostic Repository (ADR) ? A) It is used only if the DIAGNOSTIC_DEST parameter is manually configured.
740 0
|
Oracle 关系型数据库 数据库
OCP-052考试题库汇总(49)-CUUG内部解答版
Which two statements are true about the Automatic Diagnostic Repository (ADR) ? A)It only exists if DIAGNOSTIC_DEST is configured in the SPFILE.
963 0
|
数据库管理
OCP-052考试题库汇总(46)-CUUG内部解答版
Examine this command: SQL> CREATE GLOBAL TEMPORARY TABLE report_work_area (startdate DATE, enddate DATE, class CHAR(20)) ON COMMIT PRESERVE ROWS; Whi...
771 0
|
XML SQL 数据库
OCP-052考试题库汇总(41)-CUUG内部解答版
Examine this session output: SQL> connect scott/tiger Connected. SQL>select name,value 2 from v$parameter 3 where name='audit_trail'; NAME VALUE ----...
890 0
OCP-052考试题库汇总(42)-CUUG内部解答版
You successfully executed these commands: connect scott/tiger@prod1; CREATE DATABASE LINK db_prod2 CONNECT TO scott IDENTIFIED BY tiger USING 'PROD2'...
793 0
|
Oracle 关系型数据库 数据库
OCP-052考试题库汇总(33)-CUUG内部解答版
Which two can be exported by a non-administrative account by using Data Pump? A)directory objects B)tables C)tablespaces D)schemas E)database Answer: BD 赵: EXP 和 IMP 是客户端工具程序,它们既可以在客户端使用,也可以在服务端使用。
649 0
|
Oracle 关系型数据库 数据库
OCP-052考试题库汇总(31)-CUUG内部解答版
which four are true about the tools used to administer Oracle database? A)the Data Pump utility can be used to load data from text files.
798 0
|
机器学习/深度学习 Oracle 关系型数据库
OCP-052考试题库汇总(25)-CUUG内部解答版
Which four database objects never have any segments? A)A partitioned index B)A view selecting from a populated table C)An empty index D)An Oracle Loader type external table E)An empty table F)A view selecting from an empty table G)An Oracle Data Pump type external table Answer: BDFG 赵:视图和外部表不存在段。
734 0
OCP-052考试题库汇总(24)-CUUG内部解答版
Which structure can span multiple data files? A)a bigfile tablespace B)a permanent tablespace C)a segment D)a temporary tablespace E)an extent Answer...
411 0