A. The initialization parameter should be set to 0 when the RMAN repository is being used.
B. The initialization parameter should be set to greater than 0 with the RMAN repository utilizing the recovery catalog only.
C. The initialization parameter should be set to greater than 0 with the RMAN repository utilizing the control file or the recovery catalog.
D. The initialization parameter should be set to 0 with the RMAN repository utilizing the control file or the recovery catalog.
E. The initialization parameter should never be set to 0 if you are using RMAN.
答案:(C、E)
解析:
Oracle基于RMAN的备份方式,可分为以catalog和nocatalog的两种方式进行备份管理。其中,catalog的方式需要一个catalog目录数据库,对数据库A的备份恢复记录保留在catalog目录数据库中。而基于nocatalog的备份管理方式,是将RMAN的备份信息放在控制文件中,由于控制文件的大小不能无限增大,所以在控制文件中只能保留一段时间的备份与恢复信息,而这个时间的控制,由一个参数为参考依据,这个参数就是control_file_record_keep_time,通过在sqlplus中show parameter control_file_record_keep_time可以查到这个参数的值,默认为7天。
当使用RMAN目录时,control_file_record_keep_time保存的时间不能比同步目录的时间间隔短。换句话说,如果每天备份一次,那么controlfile_record_keep_time不能少于1。
如果不使用RMAN目录,应该设置control_file_record_keep_time为你需要往回恢复的最大天数。
不管备份时是使用恢复目录还是不使用恢复目录,CONTROL_FILE_RECORD_KEEP_TIME必须要大于0,备份的副本才能保存指定的时间段。
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/17013648/viewspace-1322049/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/17013648/viewspace-1322049/