1Z0-053 争议题目解析330

考试科目:1Z0-053

题库版本:V13.02

题库中原题为:

330.What will be the end result of this set of RMAN commands?

shutdown abort

startup mount

restore datafile 4 until time ,,09/30/2008:15:00:00;

recover datafile 4 until time ,,09/29/2008:15:00:00;

alter database open resetlogs;

A. Datafile 4 will be recovered until 9/30/2008 at 15:00 and the database will open.

B. The restore command will fail.

C. The recover command will fail.

D. The alter database open resetlogs command will fail.

E. All these commands will fail because they must be in the confines of a run block.

Answer: D

争议点:

题库答案是D。网上答案很多说是B。

实验验证:

[oracle@JY-DB01 ~]$ rman target /

Recovery Manager: Release 11.2.0.4.0 - Production on Fri Mar 11 16:35:13 2016

Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.

connected to target database: JINGYU (DBID=3598773503)

RMAN> shutdown abort;

using target database control file instead of recovery catalog
Oracle instance shut down RMAN> startup mount; connected to target database (not started)
Oracle instance started
database mounted Total System Global Area 1068937216 bytes Fixed Size 2260088 bytes
Variable Size 1015022472 bytes
Database Buffers 46137344 bytes
Redo Buffers 5517312 bytes RMAN> sql "alter session set nls_date_format=''yyyy-mm-dd hh24:mi:ss''"; sql statement: alter session set nls_date_format=''yyyy-mm-dd hh24:mi:ss'' RMAN> restore datafile 4 until time '2016-03-11 16:00:00'; Starting restore at 2016-03-11 16:39:11
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=11 device type=DISK channel ORA_DISK_1: starting datafile backup set restore
channel ORA_DISK_1: specifying datafile(s) to restore from backup set
channel ORA_DISK_1: restoring datafile 00004 to +DATA1/jingyu/datafile/users.261.897474169
channel ORA_DISK_1: reading from backup piece /u02/app/oracle/fast_recovery_area/JINGYU/backupset/2016_03_10/o1_mf_nnndf_TAG20160310T122535_cg1xtz1g_.bkp
channel ORA_DISK_1: piece handle=/u02/app/oracle/fast_recovery_area/JINGYU/backupset/2016_03_10/o1_mf_nnndf_TAG20160310T122535_cg1xtz1g_.bkp tag=TAG20160310T122535
channel ORA_DISK_1: restored backup piece 1
channel ORA_DISK_1: restore complete, elapsed time: 00:00:02
Finished restore at 2016-03-11 16:39:14 RMAN> recover datafile 4 until time '2016-03-11 16:00:00'; Starting recover at 2016-03-11 16:39:33
using channel ORA_DISK_1 starting media recovery archived log for thread 1 with sequence 262 is already on disk as file /u02/app/oracle/fast_recovery_area/JINGYU/archivelog/2016_03_10/o1_mf_1_262_cg22lcgo_.arc
archived log for thread 1 with sequence 263 is already on disk as file /u02/app/oracle/fast_recovery_area/JINGYU/archivelog/2016_03_10/o1_mf_1_263_cg2zjv8r_.arc
archived log for thread 1 with sequence 264 is already on disk as file /u02/app/oracle/fast_recovery_area/JINGYU/archivelog/2016_03_10/o1_mf_1_264_cg30dffw_.arc
archived log for thread 1 with sequence 265 is already on disk as file /u02/app/oracle/fast_recovery_area/JINGYU/archivelog/2016_03_11/o1_mf_1_265_cg42osms_.arc
channel ORA_DISK_1: starting archived log restore to default destination
channel ORA_DISK_1: restoring archived log
archived log thread=1 sequence=261
channel ORA_DISK_1: reading from backup piece /u02/app/oracle/fast_recovery_area/JINGYU/backupset/2016_03_10/o1_mf_annnn_TAG20160310T122613_cg1xv62c_.bkp
channel ORA_DISK_1: piece handle=/u02/app/oracle/fast_recovery_area/JINGYU/backupset/2016_03_10/o1_mf_annnn_TAG20160310T122613_cg1xv62c_.bkp tag=TAG20160310T122613
channel ORA_DISK_1: restored backup piece 1
channel ORA_DISK_1: restore complete, elapsed time: 00:00:01
archived log file name=/u02/app/oracle/fast_recovery_area/JINGYU/archivelog/2016_03_11/o1_mf_1_261_cg5126br_.arc thread=1 sequence=261
channel default: deleting archived log(s)
archived log file name=/u02/app/oracle/fast_recovery_area/JINGYU/archivelog/2016_03_11/o1_mf_1_261_cg5126br_.arc RECID=90 STAMP=906223174
archived log file name=/u02/app/oracle/fast_recovery_area/JINGYU/archivelog/2016_03_10/o1_mf_1_262_cg22lcgo_.arc thread=1 sequence=262
archived log file name=/u02/app/oracle/fast_recovery_area/JINGYU/archivelog/2016_03_10/o1_mf_1_263_cg2zjv8r_.arc thread=1 sequence=263
media recovery complete, elapsed time: 00:00:02
Finished recover at 2016-03-11 16:39:37 RMAN> alter database open resetlogs; RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of alter db command at 03/11/2016 16:40:08
ORA-01139: RESETLOGS option only valid after an incomplete database recovery RMAN>

初步结论:

选择D。

1Z0-053 争议题目解析330的更多相关文章

  1. 1Z0-053 争议题目解析

    1Z0-053 争议题目解析 Summary 题目NO. 题目解析链接地址 题库答案 参考答案 考查知识点  24 http://www.cnblogs.com/jyzhao/p/5319220.ht ...

  2. 1Z0-053 争议题目解析25

    1Z0-053 争议题目解析25 考试科目:1Z0-053 题库版本:V13.02 题库中原题为: 25.You enabled Flashback Data Archive on the INVEN ...

  3. 1Z0-053 争议题目解析24

    1Z0-053 争议题目解析24 考试科目:1Z0-053 题库版本:V13.02 题库中原题为: 24.Which of the following information will be gath ...

  4. 1Z0-053 争议题目解析46

    1Z0-053 争议题目解析46 考试科目:1Z0-053 题库版本:V13.02 题库中原题为: 46.What happens when you run the SQL Tuning Adviso ...

  5. 1Z0-053 争议题目解析86

    1Z0-053 争议题目解析86 考试科目:1Z0-053 题库版本:V13.02 题库中原题为: 86.Your production database is running in archivel ...

  6. 1Z0-053 争议题目解析134

    1Z0-053 争议题目解析134 考试科目:1Z0-053 题库版本:V13.02 题库中原题为: 134.You are managing an Oracle Database 11g datab ...

  7. 1Z0-053 争议题目解析154

    1Z0-053 争议题目解析154 考试科目:1Z0-053 题库版本:V13.02 题库中原题为: 154.A database is running in ARCHIVELOG mode and ...

  8. 1Z0-053 争议题目解析175

    1Z0-053 争议题目解析175 考试科目:1Z0-053 题库版本:V13.02 题库中原题为: 175.You are peer reviewing a fellow DBAs backup p ...

  9. 1Z0-053 争议题目解析212

    1Z0-053 争议题目解析212 考试科目:1Z0-053 题库版本:V13.02 题库中原题为: 212.Note the following parameters settings in you ...

随机推荐

  1. substring()

    OPENERURL.substring(OPENERURL.indexOf('/sear'));//从/sear开始截取(包括/sear): OPENERURL.substring(OPENERURL ...

  2. mailto

    什么是mailto链接? mailto链接是一种html链接,能够设置你电脑中邮件的默认发送信息.但是需要你电脑中安装默认的E-mail软件,类似Microsoft Outlook等等.加入您已经安装 ...

  3. linux下Vim的使用

    在vim中移动光标跟其他的编辑器中有很大的区别,不过一旦学会了,就会飞速的在文本中移动 复制粘贴dd 删除光标所在行dw 删除一个字(word)x 删除当前字符X 删除前一个字符D 删除到行末yy 复 ...

  4. jquery插入复杂表格,合并行列

    此方法为个人测试所写,针对各种兼容性问题还未测试,初写的目的是easyui复杂表头有些缺陷,比如某个表头合并两列, 在easyui中这样操作无法绑定两个值 或者说我没找到 再或者 可以做个隐藏 数据列 ...

  5. final关键字(final是最终的)

    final关键字(final是最终的) 1.final修饰特点 a.修饰类,类不能被继承 b.修饰变量,变量就变成了常量, 修饰基本数据类:final int num = 10; 修饰引用数据类型变量 ...

  6. 浅谈Js对象的概念、创建、调用、删除、修改!

    一.我们经常困惑,对象究竟是什么,其实这是一种思维,一种意识上的东西,就像我们都说    世界是有物质组成的道理一样,理解了下面的几句话!对象也不是那么抽象!    1.javascript中的所有事 ...

  7. 使用libjpeg.framework压缩UIImage

    +(void)writeFile:(NSString *)filePath withQuality:(int)quality { //初始化图片参数 UIImage *image=[UIImage i ...

  8. 让浏览器不再显示 https 页面中的 http 请求警报

    HTTPS 是 HTTP over Secure Socket Layer,以安全为目标的 HTTP 通道,所以在 HTTPS 承载的页面上不允许出现 http 请求,一旦出现就是提示或报错: Mix ...

  9. 多线程中的锁系统(三)-WaitHandle、AutoResetEvent、ManualResetEvent

    本章主要介绍下基于内核模式构造的线程同步方式,事件,信号量. 阅读目录: 理论 WaitHandle AutoResetEvent ManualResetEvent 总结 理论 Windows的线程同 ...

  10. 每天一个linux命令(23):Linux 目录结构

    对于每一个Linux学习者来说,了解Linux文件系统的目录结构,是学好Linux的至关重要的一步.,深入了解linux文件目录结构的标准和每个目录的详细功能,对于我们用好linux系统只管重要,下面 ...