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

简介: Which two events always request the LGWR to write?A)When DBWn writes dirty buffers.B)When a log switch occurs.

Which two events always request the LGWR to write?

A)When DBWn writes dirty buffers.

B)When a log switch occurs.

C)When a checkpoint occurs.

D)When LGWR is notified by a server process that performs a COMMIT or ROLLBACK.

E)When PMON restarts a serve process.

Answer: AD

赵:AB=>AD

LGWR 触发 5 条件

LGWR 进程将日志缓冲区的日志信息写入联机日志文件,触发的 5 个条件:

一、前台进程触发

1.用户发出 commit,rollback 语句。

2.日志缓冲区找不到足够的内存来放日志信息。

二、每隔 3 秒钟。(3 秒)

三、日志信息的数量达到日志缓冲区的 1/3。(1/3 满)

四、日志信息数量达到 1MB。(1M)

五、DBWn 启动时,如果发现有脏数据块对应的重做条目还没写到联机日志文件,则触发 LGWR,并等 LGWR 写完,DBWn 才继续。(DBWn 写脏 buffer)

相关实践学习
日志服务之使用Nginx模式采集日志
本文介绍如何通过日志服务控制台创建Nginx模式的Logtail配置快速采集Nginx日志并进行多维度分析。
目录
相关文章
|
数据安全/隐私保护 关系型数据库 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考试题库汇总(59)-CUUG内部解答版
In one of your databases: 1.USER1 and USER2 have no system privileges. 2.ROLE1 only has these privileges: ?CREATE SESSION ?CREATE TABLE ?CREATE VIEW ...
2827 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
|
SQL
OCP-052考试题库汇总(44)-CUUG内部解答版
Which two are true about external tables? A)They can be stored in an ASM Cluster File System(ACFS). B)They can always be updated using SQL.
8259 0
|
Oracle 关系型数据库 数据库
OCP-052考试题库汇总(45)-CUUG内部解答版
You want to access employee details contained in flat files created by an application. Which two methods will achieve this? A)Use a BFILE column in a table to access the flat file.
1863 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'...
794 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考试题库汇总(27)-CUUG内部解答版
Which two of these must be available READ/WRITE to keep a database open? A)all copies of the control file.
514 0
|
关系型数据库 Oracle 存储
OCP-052考试题库汇总(23)-CUUG内部解答版
11g版本的OCP考试持续了好几年,一直比较稳定,直到2018年4月份左右,052考试不断的出现新的考题,虽然我们收集整理了不少,但新题还是难避免,这样出现一部分新题,我们收集一部分,持续了不短的时间。
1065 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