control_file_record_keep_time设置与RMAN保留策略的关系
2013-12-15 23:55
453 查看
The default value of CONTROL_FILE_RECORD_KEEP_TIME is 7 days. If you are not using a recovery catalog, then set the CONTROL_FILE_RECORD_KEEP_TIME value to slightly longer than the oldest file that
you need to keep. For example, if you back up the whole database once a week, then you need to keep every backup for at least seven days. Set CONTROL_FILE_RECORD_KEEP_TIME to a value such as 10 or 14.
Regardless of whether you use a recovery catalog, never use RMAN when CONTROL_FILE_RECORD_KEEP_TIME is set to 0. If you do, then you may lose backup records.
RMAN backup keeps the backup metadata information in the reusable section of the controlfile. Its depends on the parameter CONTROL_FILE_RECORD_KEEP_TIME. CONTROL_FILE_RECORD_KEEP_TIME specifies the minimum number of days before a reusable record in the
control file can be reused. In the event a new record needs to be added to a reusable section and there is not enough space then it will delete the oldest record, which are aged enough.
Backup retention policy is the rule to set regarding which backups must be retained (whether on disk or other backup media) to meet the recovery and other requirements.
If the CONTROL_FILE_RECORD_KEEP_TIME is less than the retention policy then it may overwrite reusable records prior to obsoleting them in the RMAN metadata. Therfor it is recommended that the CONTROL_FILE_RECORD_KEEP_TIME should set to a higher value than
the retention policy.
由上可知,CONTROL_FILE_RECORD_KEEP_TIME的设置会覆盖RMAN保留策略,所以,尽量将CONTROL_FILE_RECORD_KEEP_TIME的值设置的比保留策略大,以免control_file备份被清除,没达到备份的目的.
参考:http://www.itpub.net/thread-1624579-1-1.html
you need to keep. For example, if you back up the whole database once a week, then you need to keep every backup for at least seven days. Set CONTROL_FILE_RECORD_KEEP_TIME to a value such as 10 or 14.
Regardless of whether you use a recovery catalog, never use RMAN when CONTROL_FILE_RECORD_KEEP_TIME is set to 0. If you do, then you may lose backup records.
RMAN backup keeps the backup metadata information in the reusable section of the controlfile. Its depends on the parameter CONTROL_FILE_RECORD_KEEP_TIME. CONTROL_FILE_RECORD_KEEP_TIME specifies the minimum number of days before a reusable record in the
control file can be reused. In the event a new record needs to be added to a reusable section and there is not enough space then it will delete the oldest record, which are aged enough.
Backup retention policy is the rule to set regarding which backups must be retained (whether on disk or other backup media) to meet the recovery and other requirements.
If the CONTROL_FILE_RECORD_KEEP_TIME is less than the retention policy then it may overwrite reusable records prior to obsoleting them in the RMAN metadata. Therfor it is recommended that the CONTROL_FILE_RECORD_KEEP_TIME should set to a higher value than
the retention policy.
由上可知,CONTROL_FILE_RECORD_KEEP_TIME的设置会覆盖RMAN保留策略,所以,尽量将CONTROL_FILE_RECORD_KEEP_TIME的值设置的比保留策略大,以免control_file备份被清除,没达到备份的目的.
参考:http://www.itpub.net/thread-1624579-1-1.html
相关文章推荐
- RMAN备份保留与control_file_record_keep_time之间的关系
- Oracle 中control_file_record_keep_time参数的解释
- 参数CONTROL_FILE_RECORD_KEEP_TIME和MAXLOGHISOTRY
- controlfile作为RMAN的repository时,对 keep time 的测试
- Oracle 中control_file_record_keep_time参数的解释
- Correlation between MAXLOGHISTORY & CONTROL_FILE_RECORD_KEEP_TIME
- 参数CONTROL_FILE_RECORD_KEEP_TIME和MAXLOGHISOTRY
- CONTROL_FILE_RECORD_KEEP_TIME
- 参数CONTROL_FILE_RECORD_KEEP_TIME和MAXLOGHISOTRY
- 参数CONTROL_FILE_RECORD_KEEP_TIME和MAXLOGHISOTRY .
- 参数CONTROL_FILE_RECORD_KEEP_TIME和MAXLOGHISOTRY
- 参数CONTROL_FILE_RECORD_KEEP_TIME和MAXLOGHISOTRY
- Oracle 中control_file_record_keep_time参数的解释
- 【转载】RMAN备份保留策略设置相关命令
- RMAN-06525: 将 RMAN 保留策略设置为无
- RMAN增量备份-备份保留策略-设置备份集属性
- Oracle中control_file_record_keep_time及alter system命令参数之scope
- Oracle 11g RAC RMAN ORA-00245 control file backup operation failed 错误 与 控制文件备份 说明
- Win32时间类型FILETIME/SYSTEMTIME/WINDOWSTIME(FILETIME这个名字很奇怪,其实他跟FILE并没有直接关系,只是很多File的API中,都以这个为时间的类型)
- RMAN正确地删除Archivelog以及设置有备库的归档删除策略