ITPub博客

首页 > 数据库 > Oracle > RMAN delete expired & delete obsolete

RMAN delete expired & delete obsolete

原创 Oracle 作者:幕南风 时间:2014-07-03 13:54:39 0 删除 编辑
      先看官方文档解释:
      

      delete exipired


If you run CROSSCHECK, and if RMAN cannot locate the files, then it updates their records in the RMAN repository to EXPIRED status. You can then use the DELETE EXPIRED command to remove records of expired backups and copies from the RMAN repository


      delete obsolete


The RMAN DELETE command supports an OBSOLETE option, which deletes backups that are no longer needed to satisfy specified recoverability requirements. You can delete files obsolete according to the configured default retention policy, or another retention policy that you specify as an option to the DELETE OBSOLETE command. As with other forms of the DELETE command, the files deleted are removed from backup media, deleted from the recovery catalog, and marked as DELETED in the control file


      简言之、就是“在不在”和“要不要”的区别
      
      expired 是不在了、obsolete 是不要了
      
      不在并不一定是不需要的
      不需要的也并不一定不在
      
      数据库管理的时候、痛苦的是不需要的还在、比这更痛苦的是、需要的已经不在了

<!-- Baidu Button BEGIN -->

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

上一篇: 调整 Xen 虚拟硬盘大小
下一篇: RMAN Compressed Backupset
请登录后发表评论 登录
全部评论
腾讯数据库工程师

注册时间:2012-05-10

最新文章