当前位置: 代码迷 >> Oracle认证考试 >> 百分求解:控制文件自动备份有关问题,今天上班前结帖
  详细解决方案

百分求解:控制文件自动备份有关问题,今天上班前结帖

热度:4894   发布时间:2013-02-26 00:00:00.0
百分求解:控制文件自动备份问题,今天下班前结帖
In Recovery Manager (RMAN), you have set control file autobackup to ON by using the following command: CONFIGURE CONTROLFILE AUTOBACKUP ON; Which two events would cause the control file to be backed up automatically? (Choose two)
A. A tablespace is taken offline.
B. The database instance is restarted.
C. A new data file is added to an existing tablespace.
D. A successful backup is recorded in the RMAN repository.
E. The RMAN connection is disconnected from the target database

答案是CD

A为什么不对?很困惑,各位大大来解释一下吧,偶实在想不起来什么情况下做表空间离线会不备份控制文件 
下班前结帖
------解决方案--------------------------------------------------------
偶菜的,先说说
C肯定选,毫无争议。
B,E肯定不选也无争议
D只是一个陈述。不知道为什么这个也对。
至于A
表空间离线对数据库结构未发生改变。控制文件自动备份是数据库结构发生改变时才触发自动备份。我的理解。
如果要我选只选C
可是题目要求Choose two
看来只能选C,D了
------解决方案--------------------------------------------------------
过来混分,随便说说,我感觉这是alter tablespace 和 alter database的区别,我们使用前者alter tablespace x offline时,整个空间的段都冻结了,不会出现结构改变,所以online时直接就可以了,但使用alter database datafile  x offline时,只是部分冻结,其他有可能变动,所以online是必须提前介质恢复一下,既然对结构没有变动,控制文件也没变化,就不用备份了,至于操作记录,应该是进入日志文件了,不知道对不对,仅当参考。
------解决方案--------------------------------------------------------
难道表空间offline了控制文件不会记录变化吗?

如果是的,那就好理解了
  相关解决方案