ORACLE NBU calls oracle rman script backup archive does not automatically delete archives

      Recently, I encountered a problem. ORACLE 11G RAC FOR LINUX called the rman backup script through NBU. The problem is that it is clearly written in the backup script.

The archive is deleted when there is a backup, but the archive is not automatically deleted, causing the archive space to be frequently violent and the database is congested.

      The RMAN backup delete archive command is as follows:

       According to a colleague who manages database backups, NBU can back up normally without reporting an error; in this way, the delete archive statement in rman.sh is not executed. To force a backup

Delete the archive after archiving, modify the above statement to: backup filesperset 20 format'al_%s_%p_%t' archivelog delete all input; Then watch

Observe the effect of NBU invoking the script to backup and delete archives, and find that it can be automatically cleared:

 

 

 

Guess you like

Origin blog.csdn.net/www_xue_xi/article/details/94362644