RMAN-08120: WARNING: archived log not deleted, not yet applied by standby

Hi,

Sometimes You can get “RMAN-08120: WARNING: archived log not deleted, not yet applied by standby ” error.

 

Details of error are as follows.

RMAN-08120: WARNING: archived log not deleted, not yet applied by standby
Cause: This is an informational message to alert the user that an archived log that should have been
deleted was not as it has not been applied to the standby database. The next message identifies the archived log
Action: Archivelog can be deleted after it has been applied to standby database.
This error is encountered during Upgraded from 11.2.0.3 to 12.1.0.2.

 

 SQL> SELECT * from v$archive_dest where (valid_now = 'UNKNOWN' AND status = 'DEFERRED') ;

 

If the above query returns a row (rows), then you have some destinations that are marked DEFERRED.


If  you have one of V$ARCHIVE_DEST with valid_now=’UNKNOWN’ and status = ‘DEFERRED’.
Then because of Bug 16082541, we are considering DEFERRED destination applied archived logs too and hence rman not purging those. 

 

To solve this error, run the following script for the deferred destinations

‘n’ id the dest_id

  SQL> ALTER SYSTEM SET LOG_ARCHIVE_DEST_N = '' SCOPE = BOTH;

 

and rerun backup and check  the RMAN-08120 Warning disappear

 

Do you want to learn more details about RMAN, then read the following articles.

https://ittutorial.org/rman-backup-restore-and-recovery-tutorials-for-beginners-in-the-oracle-database/

 

About Mehmet Salih Deveci

I am Founder of SysDBASoft IT and IT Tutorial and Certified Expert about Oracle & SQL Server database, Goldengate, Exadata Machine, Oracle Database Appliance administrator with 10+years experience.I have OCA, OCP, OCE RAC Expert Certificates I have worked 100+ Banking, Insurance, Finance, Telco and etc. clients as a Consultant, Insource or Outsource.I have done 200+ Operations in this clients such as Exadata Installation & PoC & Migration & Upgrade, Oracle & SQL Server Database Upgrade, Oracle RAC Installation, SQL Server AlwaysOn Installation, Database Migration, Disaster Recovery, Backup Restore, Performance Tuning, Periodic Healthchecks.I have done 2000+ Table replication with Goldengate or SQL Server Replication tool for DWH Databases in many clients.If you need Oracle DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS Consultancy and Training you can send my email adress [email protected].-                                                                                                                                                                                                                                                 -Oracle DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS ve linux Danışmanlık ve Eğitim için  [email protected] a mail atabilirsiniz.

Leave a Reply

Your email address will not be published. Required fields are marked *