zoukankan      html  css  js  c++  java
  • 052-238(新增70题2018)

    QUESTION 238

    In the instance of the PROD database, the checkpoint (CKPT) process runs after every minute. A database user updates the rows of the ORDERS table. Because of the configuration, the CKPT process gets initiated before the user commits the transaction.

    What would happen to the modified blocks when the CKPT process is started?

    A. The modified blocks would be written to the data files.

    B. The modified blocks would be written to the temp files.

    C. The modified blocks would be written to the control file.

    D. The modified blocks would be written to the redo log files.

    E. The modified blocks would be written to the archived redo log files.

    F. The modified blocks would be retained in the database buffer cache.

    Answer: A

    "Checkpoint Process (CKPT)"

    Checkpoint Process (CKPT)

    The checkpoint process (CKPT) updates the control file and data file headers with checkpoint information and signals DBWn to write blocks to disk. Checkpoint information includes the checkpoint position, SCN, location in online redo log to begin recovery, and so on. As shown in Figure 15-4, CKPT does not write data blocks to data files or redo blocks to online redo log files.

    Figure 15-4 Checkpoint Process

    Description of Figure 15-4 follows

    When Oracle Database Initiates Checkpoints

    The checkpoint process (CKPT) is responsible for writing checkpoints to the data file headers and control file. Checkpoints occur in a variety of situations. For example, Oracle Database uses the following types of checkpoints:

    Tablespace and data file checkpoints

    The database writes to disk all buffers modified by redo before a specific target. A tablespace checkpoint is a set of data file checkpoints, one for each data file in the tablespace. These checkpoints occur in a variety of situations, including making a tablespace read-only or taking it offline normal, shrinking a data file, or executing ALTER TABLESPACE BEGIN BACKUP.

  • 相关阅读:
    Spring定时任务注解实现定时清空指定文件夹下的文件
    设计模式之单例模式
    在cmd下使用imp命令导入oracle的dmp文件报错ORA-02304
    多态是什么干嘛的
    qt编辑器的问题
    qt中文格式GBK.UTF-8,unicode 之间的转换
    mysql 安装及设置
    mysql触发器
    转载 java开发基础 https://blog.csdn.net/jiangjiewudi/article/details/9565749
    测试 转载
  • 原文地址:https://www.cnblogs.com/Babylon/p/8623334.html
Copyright © 2011-2022 走看看