Oracle OCP 1Z0 053 Q324

abstractcyj發表於2016-04-03
324.Your database is up and running and one of your three control files is accidentally erased. You start
RMAN and run the following command:
RESTORE CONTROLFILE FROM AUTOBACKUP;
Which of the following statements is true? (Choose all that apply.)
A. The command restores only the missing control file.
B. The command restores all the control files.
C. The command fails because the database is running.
D. This is the correct way to address this problem.
E. This is not the correct way to address this problem.
Answer: CE


B與C實際上是矛盾的

RMAN> restore controlfile from autobackup;


Starting restore at 03-APR-16
using channel ORA_DISK_1


RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 04/03/2016 15:09:54
RMAN-06496: must use the TO clause when the database is mounted or open


恢復控制檔案在要在nomount狀態下恢復的,所以說這個不是一個正確的解決方法。
參考:http://blog.csdn.net/rlhua/article/details/17024779

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/8520577/viewspace-2074582/,如需轉載,請註明出處,否則將追究法律責任。

相關文章