OCP-1Z0-053-V12.02-574题

574.A user sends you an email with the following error message: create table idtable(id number) *

ERROR at line 1: ORA- 01110: data file 4: ,,/oracle01/oradata/orcl/users01.dbf ORA-27041:

01116: error in opening database file 4 ORA-unable to open file Linux Error: 2: No such file or directory

Additional information: 3 You can choose from the following steps:

Which is the correct order of these steps in this case?

A. Restore the missing database datafiles.

B. Take the missing datafile offline.

C. Shut down the database.

D. Issue the recover tablespace USERS command.

E. Issue the Startup Mount command to mount the database.

F. Bring the USERS tablespace online.

G. Issue the alter database open command.

H. b, a, d, f

I. c, a, e, b, d, f, g

J. c, e, d, g

K. b, d, f

L. e, d, g

Answer: A

答案解析:

参考:http://blog.csdn.net/rlhua/article/details/12622415

从错误得知,丢失了users01.dbf这个数据文件。因为users01.dbf不是关键数据文件,故可以offline来还原恢复。

恢复步骤为,先offline,在还原恢复,再online即可。

RMAN> repair failure;


Strategy: The repair includes complete media recovery with no data loss

Repair script: /u01/app/oracle/diag/rdbms/test0924/test0924/hm/reco_172511374.hm


contents of repair script:

   # restore and recover datafile

   sql 'alter database datafile4 offline';

   restore datafile 4;

   recover datafile 4;

   sql 'alter database datafile 4 online';


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值