1Z0-053 争议题目解析330
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的更多相关文章
- 1Z0-053 争议题目解析
1Z0-053 争议题目解析 Summary 题目NO. 题目解析链接地址 题库答案 参考答案 考查知识点 24 http://www.cnblogs.com/jyzhao/p/5319220.ht ...
- 1Z0-053 争议题目解析25
1Z0-053 争议题目解析25 考试科目:1Z0-053 题库版本:V13.02 题库中原题为: 25.You enabled Flashback Data Archive on the INVEN ...
- 1Z0-053 争议题目解析24
1Z0-053 争议题目解析24 考试科目:1Z0-053 题库版本:V13.02 题库中原题为: 24.Which of the following information will be gath ...
- 1Z0-053 争议题目解析46
1Z0-053 争议题目解析46 考试科目:1Z0-053 题库版本:V13.02 题库中原题为: 46.What happens when you run the SQL Tuning Adviso ...
- 1Z0-053 争议题目解析86
1Z0-053 争议题目解析86 考试科目:1Z0-053 题库版本:V13.02 题库中原题为: 86.Your production database is running in archivel ...
- 1Z0-053 争议题目解析134
1Z0-053 争议题目解析134 考试科目:1Z0-053 题库版本:V13.02 题库中原题为: 134.You are managing an Oracle Database 11g datab ...
- 1Z0-053 争议题目解析154
1Z0-053 争议题目解析154 考试科目:1Z0-053 题库版本:V13.02 题库中原题为: 154.A database is running in ARCHIVELOG mode and ...
- 1Z0-053 争议题目解析175
1Z0-053 争议题目解析175 考试科目:1Z0-053 题库版本:V13.02 题库中原题为: 175.You are peer reviewing a fellow DBAs backup p ...
- 1Z0-053 争议题目解析212
1Z0-053 争议题目解析212 考试科目:1Z0-053 题库版本:V13.02 题库中原题为: 212.Note the following parameters settings in you ...
随机推荐
- homework-01
我的GitHub账户名是Firedamp. 其实我最一开始看到最大子序列的和这个题目,最先想到的就是最简单的O(n^3)的算法,在课堂上教的也确实是这个程序,但是这种算法的时间复杂度必然是最高的,在数 ...
- web app iphone4 iphone5 iphone6 响应式布局 适配代码
在网页中,pixel与point比值称为device-pixel-ratio,普通设备都是1,iPhone 4是2,有些Android机型是1.5.] 那么-webkit-min-device-pix ...
- java学习之接口、多态和内部类
接口是一组行为的规范.定义.接口是面向对象编程体系中的思想精髓之一,使用接口可以让我们的程序更加利于变化. 接口的格式: interface 接口名称{ 全局变量: 抽象方法: } 接口中的成员修饰符 ...
- LoadingView
// // LoadingView.h // 蓝桥播报 // // Created by 小小建 on 15/7/10. // Copyright (c) 2015年 蓝桥. All righ ...
- Cocos2d-x游戏引擎实战开发炸弹超人项目教程 全套下载 1至6课
下载地址: http://pan.baidu.com/s/1b19HN
- HDFS DataNode 设计实现解析
前文分析了 NameNode,本文进一步解析 DataNode 的设计和实现要点. 文件存储 DataNode 正如其名是负责存储文件数据的节点.HDFS 中文件的存储方式是将文件按块(block)切 ...
- ADO.NET的弹性连接控制[ADO.NET idle connection resiliency]
ADO.NET连接SQL Server有时候联机会无故的中断 (例如闲置过久或是交易时间太长等因素),这时又要重新连接,在.NET Framework 4.5之前,这件事情要由开发人员自己依照ADO. ...
- 利用SSH Filesystem实现远程文件系统
远程文件系统的访问有很多种不同的实现方式,一些常见的连接方式比其它特定情况下的更有用.最著名的一个例子就是微软的通用互联网文件系统(CIFS),它可以容许微软Windows"映射网 ...
- 【javascript 技巧】谈谈setTimeout的作用域以及this的指向问题
setTimeout的用法详见:http://www.w3school.com.cn/htmldom/met_win_settimeout.asp 是的,setTimeout的常见用法是让某个方法延迟 ...
- 微冷的雨Java基础学习手记(一)
使用Java理解程序逻辑 之凌波微步 船舶停靠在港湾是很安全的,但这不是造船的目的 北大青鸟五道口原玉明老师出品 1.学习方法: 01.找一本好书 初始阶段不适合,可以放到第二个阶段,看到知识点时,要 ...