OCP 1Z0 052 19

19. Which two statements about the background process of the database writer are true? (Choose two.) 
A.It is possible to have multiple database writers in an Oracle instance.  
B.It writes dirty buffers, if any, to data files whenever a checkpoint occurs. 
C.It writes dirty buffers, if any, to data files whenever a transaction commits. 
D.It writes dirty buffers, if any, to data files before the log writer (LGWR) writes. 
Answer: AB

The checkpoint process (CKPT) updates the control file and data file headers with checkpoint information and  signals DBWn to write blocks to disk

you can configure additional processes—DBW1 through DBW9 and DBWa through DBWj—to improve write performance if your system modifies data heavily. 
The DBWn process writes dirty buffers to disk under the following conditions:
When a server process cannot find a clean reusable buffer after scanning a threshold number of buffers, it signals DBWn to write. DBWn writes dirty buffers to disk asynchronously if possible while performing other processing.
DBWn periodically writes buffers to advance the checkpoint, which is the position in the redo thread from which instance recovery begins (see "Overview of Checkpoints"). The log position of the checkpoint is determined by the oldest dirty buffer in the buffer cache.

C 不对 database writer 可以在发生成commit 之前或之后,commit只是以写入redo log为准。

D 不对 相对于database writer 来说 LGWR发生的更频繁,以保证redo log及时记录。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值