请教一个OCP真题.

chenqiang19860101 2013-08-04 09:35:24
请教一个OCP真题

3.5.67 In your production database, you:
-Are using Recovery Manager (RMAN) with a recovery catalog to perform the
backup operation at regular intervals Set the control le autobackup to "on"
-Are maintaining image copies of the database le.
You have lost the server parameter tile (SPFILE) and the control file. Which option
must you consider before restoring the SPFILE and the control le by using the
control le autobackup?
(A) setting DBID for the database
(B) using the RMAN SWITCH command
(C) using the RMAN SET NEWNAME command
(D) starting up the database Instance In the NOMOUNT state

今天考试的时候我选的D. 好像错了. (考试结果指出我recovery control file的题有错,这是唯一一道我没有把握的.)

Set DBID应该是不用的吧, 记得有一题解说中曾经说过用了Catalog就不用设DBID的.这个我不是很确定.

SWITCH感觉也不对,SWITCH相当于SQL中的alter datafile的filename,现在control file 都丢了,还switch个屁啊.
Set Newname,是让RMAN把文件恢复在新的位置用的.不知道这儿要这个做什么.题目没讲恢复在新位置啊.

实际中,要是遇到这样的情况,我肯定把SPFILE和CONTROL FILE恢复在原位,数据文件和Online Log如果都在recover database using controlfile backup.如果也要恢复就做一个until cancel的incomplete recovery.不知道还有什么更好的方法.请大师指点.
...全文
696 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
chenqiang19860101 2013-08-06
  • 打赏
  • 举报
回复
顺便提醒一下,题库有不少错的。
chenqiang19860101 2013-08-06
  • 打赏
  • 举报
回复
果然,switch database是可以连control file一起switch的。受教了。顺便问一下,究竟什么时候需要用RMAN的set DBID啊?
lana_jin 2013-08-05
  • 打赏
  • 举报
回复
题库不是选C么
aio_o 2013-08-05
  • 打赏
  • 举报
回复
B吧,control file 丢了,但是有catalog

2,668

社区成员

发帖
与我相关
我的任务
社区描述
Oracle 认证与考试
社区管理员
  • 认证与考试社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧