8 Replies Latest reply: Jan 29, 2013 8:08 PM by Hemant K Chitale RSS

    Delete obsolete not deleting older than recovery window - Oracle 10.2.0.4

    VijayaErabelli
      I am trying to clean up our RMAN catalog. We have records since 2008 and our recovery window is set to 60 days. When I did "delete obsolete" it deleted a few records but again when I do 'list backup' I see records from 2008. There are 66242 objects when I do 'crosscheck backup'. Can I get some advice as to how to get rid of the older backups.

      Crosschecked 66242 objects


      RMAN> report obsolete;

      RMAN retention policy will be applied to the command
      RMAN retention policy is set to recovery window of 60 days
      no obsolete backups found

      RMAN> show all;

      RMAN configuration parameters are:
      CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 60 DAYS;
      CONFIGURE BACKUP OPTIMIZATION OFF; # default
      CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
      CONFIGURE CONTROLFILE AUTOBACKUP ON;
      CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/backups/xxx_rman/%F';
      CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
      CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
      CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
      CONFIGURE MAXSETSIZE TO UNLIMITED; # default
      CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
      CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
      CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
      CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/oracle/app/oracle/product/10.2.0/dbs/snapcf_xxx.f'; # default

      RMAN>