ITPub博客

首页 > Linux操作系统 > Linux操作系统 > Rman backup retention policy

Rman backup retention policy

原创 Linux操作系统 作者:guo_li_yuan 时间:2008-04-23 14:34:09 0 删除 编辑

There are two mutually exclusive options for implementing a retention policy: redundancy and recovery window. If no retention policy is configured by the user, then the REPORT OBSOLETE andDELETE OBSOLETE commands use a default retention policy of REDUNDANCY 1.
To configure a retention policy based on a recovery window, use the following command:
CONFIGURE RETENTION POLICY TO RECOVERY WINDOW      :   configure retention policy to recovery window  of  7 days;

To configure a retention policy based on redundancy, use the following command:
CONFIGURE RETENTION POLICY TO REDUNDANCY  2

You can also disable the retention policy completely, meaning that RMAN does not consider any backup to be obsolete. To do so, use the following command:

CONFIGURE RETENTION POLICY TO NONE

ARCH: Archival disabled due to shutdown: 1089

cause: This is expected behavior. in 10g.During shutdown, there are some activities to shutdown ARCH processes. These messages are written to alert & trace when this ARCH shutdown processing starts. This is new code in 10g kcrr.c kcrrshut(). The messages themselves don't seem to be so significant, because it just tells us that we're doing a shutdown (and that there are couple more background processes still alive at that point). You can safely ignore this error/trace files. No impact to the database



select type, record_size, records_total, records_used from  v$controlfile_record_section;

TYPE                         RECORD_SIZE RECORDS_TOTAL RECORDS_USED
---------------------------- ----------- ------------- ------------
ARCHIVED LOG                        584           308            0
BACKUP SET                            40           409            0


NOTE
=====
You should keep the recovery window time period less than or equal to the value of the control file parameter CONTROL_FILE_RECORD_KEEP_TIME to prevent the record of older backups from being overwritten in the control file.


主题:  Rman backup retention policy
文档 ID:  注释:462978.1 类型:  BULLETIN
上次修订日期:  22-NOV-2007 

Recovery Window 

 

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

上一篇: explain plan
请登录后发表评论 登录
全部评论

注册时间:2008-01-04

  • 博文量
    11
  • 访问量
    18399