zoukankan      html  css  js  c++  java
  • 05395

    Examine the following scenario: The target database instance is running. The most recent backup available for the target database was taken two days ago. Log files switches have occurred in last two days. The target database is duplicated on the same host, using the Recovery Manager (RMAN) duplicate command as follows:
    RMAN> RUN { ALLOCATE AUXILIARY CHANNEL aux 1 DEVICE TYPE DISK; DUPLICATE TARGET DATABASE TO auxdb; }
    Which statement is true about the duplicate database in this scenario?
    A. It contains data till the last backup
    B. It contains all data from target database until the current time
    C. It contains all data from only the committed transactions in the target database
    D. It contains all data except that which is used by the transactions in the current online redo file of target database

      从命令可看出,是使用 AUXILIARY CHANNEL 基于 backup-based 的复制数据库(没有 from activedatabase 参数)。 辅助实例通道完成复制的主要工作,关联在目标主机上服务会话和辅助实例。
      RMAN 在这个场景下是进行的基于时间点的恢复,因为在线日志不能应用到目标复制数据库上,不指定 until time 的话,是使用最近的一个时间点,即源数据库最近一次归档。
    所以源数据库中正在记录事务的重做日志不能包含到 duplicate database 里去。

  • 相关阅读:
    HDU 2509 nim博弈
    HDU 1907 nim博弈变形
    HDU 1568 double 快速幂
    HDU 5950 矩阵快速幂
    HDU 1796 容斥原理
    Linux raid信息 查看
    Linux Ubuntu 内核升级
    Ubuntu 14.04 为 root 帐号开启 SSH 登录
    Google 分布式关系型数据库 F1
    分布式事务实现-Spanner
  • 原文地址:https://www.cnblogs.com/Babylon/p/7839125.html
Copyright © 2011-2022 走看看