zoukankan      html  css  js  c++  java
  • 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.

  • 相关阅读:
    Linux下JDK安装位置
    Oracle中的User与Schema
    MFC中不同窗口间的切换
    MFC 动态的画线 画当前的线是清除上一次画的线
    VC ADO连接ACCESS步骤及错误处理
    虚继承和虚函数继承
    虚拟机无法连接连接U盘
    未能找到类型或命名空间
    VS2008 重构 封装字段 出错 无法使用
    vs2010 Visual Studio 遇到了异常。这可能是由某个扩展导致的
  • 原文地址:https://www.cnblogs.com/Babylon/p/8624023.html
Copyright © 2011-2022 走看看