Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. If there are log files older than DAYS_TO_KEEP_ARCHSOURCE days to keep the archive log files, then delete these.

  2. If there are more log files than NUM_ARCHSOURCE_TO_KEEP Number of archive log files to keep, then delete these (oldest ones first).

  3. If there are more logs that have been backed up by RMAN at least ARCHSOURCE_BACKUP_COUNT Number of times an archivelog has to be backed up rman before being deleted times, then delete these.

  4. If the THRESHOLD_ARCHSOURCE Threshold in % of how much disk space may be used < mount point fullness criteria are met, then mark archives for deletion (oldest ones first). The number of archives marked for deletion is HOWMANY_ARCHSOURCEhow many archive logs. The archives will only be deleted if DELETE_ARCHSOURCE Delete archive files once threshold is reached=Y. After deletion of the archives, and the criteria are still met (THRESHOLD_ARCHSOURCE Threshold in % of how much disk space may be used < mount point fullness), then mark more archives for deletion (number of archives marked for deletion will be again HOWMANY_ARCHSOURCE, and oldest ones first). This process will continue until the criteria are no longer met.

If DELETE_ARCHSOURCE Delete archive files once threshold is reached=N, then only a warning email will be sent. No archives will be deleted when the THRESHOLD_ARCHSOURCE Threshold in % of how much disk space may be used < mount point fullness criteria are met. Setting variable DELETE_ARCHSOURCE Delete archive files once threshold is reached=N has no influence over DAYS_TO_KEEP_ARCHSOURCE and NUM_ARCHSOURCE_TO_KEEP days to keep the archive log files and Number of archive log files to keep. These will still delete archive files when their criteria are met.

...