• 052-245(新增70题2018)


    You are in the middle of a transaction and very crucial data has been modified. Because of a hardware failure, the instance has shut down before synchronizing all the database files.

    Which two statements are true? (Choose two.)

    A. On startup, SMON coordinates instance recovery.

    B. On startup, CKPT coordinates instance recovery.

    C. On startup, use RMAN to perform instance recovery.

    D. Uncommitted changes will be rolled back after the database is opened.

    E. On startup, perform media recovery and then instance recovery.

    F. On startup, all the files will be synchronized and you get both committed and uncommitted data.

    Answer: AD

    When Oracle Database Performs Instance Recovery 

    Whether instance recovery is required depends on the state of the redo threads. A redo thread is marked open in the control file when a database instance opens in read/write mode, and is marked closed when the instance is shut down consistently. If redo threads are marked open in the control file, but no live instances hold the thread enqueues corresponding to these threads, then the database requires instance recovery.

    Oracle Database performs instance recovery automatically in the following situations:

    • The database opens for the first time after the failure of a single-instance database or all instances of an Oracle RAC database. This form of instance recovery is also called crash recovery. Oracle Database recovers the online redo threads of the terminated instances together.

    • Some but not all instances of an Oracle RAC database fail. Instance recovery is performed automatically by a surviving instance in the configuration.

    The SMON background process performs instance recovery, applying online redo automatically. No user intervention is required.

    When a ROLLBACK statement is issued, undo records are used to undo changes that were made to the database by the uncommitted transaction. During database recovery, undo records are used to undo any uncommitted changes applied from the redo log to the data files. Undo records provide read consistency by maintaining the before image of the data for users who are accessing the data at the same time that another user is changing it.

  • 相关阅读:
    地震逃生【网络流】
    地震逃生【网络流】
    【杭电】[2002]计算球体积
    【杭电】[2002]计算球体积
    【杭电】[2003]求绝对值
    【杭电】[2003]求绝对值
    写在正式写博客之前——博客的意义
    写在正式写博客之前——博客的意义
    初识ACM——活泼的精灵
    初识ACM——活泼的精灵
  • 原文地址:https://www.cnblogs.com/Babylon/p/8624023.html
Copyright © 2020-2023  润新知