Oracle OCP 1Z0 053 Q559(Alter Database Begin Backup)

559.Another DBA issues a shutdown abort command on a database on which you were running an online
backup. What will happen when you try to restart the database?
A. Oracle will automatically take the datafile out of hot backup mode, generate a warning message, and
then open the database.
B. Oracle will automatically take the datafile out of hot backup mode and then open the database.
C. Oracle will generate an error when trying to open the database, indicating that a datafile is in hot
backup mode.
You will need to correct this error before you can open the database.
D. The database will open with the file in hot backup mode. You can restart the backup at any time.
E. The datafile in hot backup mode will be corrupted and you will have to recover it.
Answer: C

重启时,提示SYSTEM表空间数据文件处于备份模式之下

SQL> alter database begin backup;


Database altered.


SQL> shutdown abort;
ORACLE instance shut down.
SQL> startup
ORACLE instance started.


Total System Global Area  413372416 bytes
Fixed Size                  2253784 bytes
Variable Size             314575912 bytes
Database Buffers           88080384 bytes
Redo Buffers                8462336 bytes
Database mounted.
ORA-10873: file 1 needs to be either taken out of backup mode or media
recovered
ORA-01110: data file 1: '/u01/app/oracle/oradata/catdb/system01.dbf'




SQL> alter database end backup;


Database altered.


SQL> alter database open;


Database altered.


SQL> 

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/8520577/viewspace-2074527/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/8520577/viewspace-2074527/

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值