OCP 1Z0 053 86

86.Your production database is running in archivelog mode and you are using recovery manager (RMAN) 
with recovery catalog to perform the database backup at regular intervals. When you attempt to restart the 
database instance after a regular maintenance task on Sunday, the database fails to open displaying the 
message that the data file belonging to the users tablespace are corrupted. 
The steps to recover the damaged data files are follows: 
1. Mount the database 
2. Open the database 
3. Recover the data file 
4. Restore the data file 
5. Make the data file offline 
6. Make the data file online 
Which option identifies the correct sequence that you must use to recover the data files? 
A. 2, 4, 3 
B. 1, 4, 3, 2 
C. 2, 5, 4, 3, 6 
D. 5, 2, 4, 3, 6 
E. 1, 5, 4, 3, 6, 2 
Answer: E 

因有文件损坏,不能open。只有先mount,修复后再open

参见
http://docs.oracle.com/cd/E11882_01/backup.112/e10643/rcmsynta2008.htm#RCMRF90312

Example 3-19 Setting a New Name for a Restored Data File

Assume that /disk1, which contains data file 9, suffers a media failure. This example specifies a new name for the data file, restores it, updates the control file to use the new name, recovers it, and then brings it online:

RUN
{
  SQL "ALTER DATABASE DATAFILE 9 OFFLINE";
  SET NEWNAME FOR DATAFILE 9 TO '/disk2/users01.dbf';
  RESTORE DATAFILE 9;
  SWITCH DATAFILE ALL;
  RECOVER DATAFILE 9;
  SQL "ALTER DATABASE DATAFILE 9 ONLINE";
}


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值