how do we make sure archive log is applied on the standby before deleting in primary?

From: Xu, Roger <>
Date: Wed, 18 Feb 2009 09:26:24 -0700
Message-ID: <>

According to the posting below, it may or may not.

Very interesting

-----Original Message-----
From: Remigiusz Sokolowski [] Sent: Wednesday, February 18, 2009 3:16 AM To: Xu, Roger
Cc:; Oracle-L Group Subject: RE: RMAN backup all but delete n days old

On wto, 2009-02-17 at 13:18 -0700, Xu, Roger wrote:
> I have a similar question - hope someone can answer both :)
> Can we backup all offline redo logs and delete only the ones which
> been successfully transferred to the standby?
> TIA!
AFAIK that is done automatically (at least in If one tries to delete with rman an archivelog which is not copied to standby it fails with
RMAN-08137: WARNING: archive log not deleted as it is still needed


Remigiusz Sokolowski <>
pos  : DBA at DUSB
addr : Nordea Bank Polska SA, Luzycka 6A Street, 81-537 Gdynia, Poland
phone: +48 58 667 17 43 to learn more about Dr Pepper Snapple Group’s commitment to corporate social responsibility.

Please be conscious of the environment and print this email only if absolutely necessary. 
This e-mail (including any attachments) is confidential and may contain privileged information of Dr Pepper Snapple Group, Inc. and/or its subsidiaries ("Dr Pepper Snapple Group"). If you are not the intended recipient or receive it in error, you may not use, distribute, disclose or copy any of the information contained within it and it may be unlawful to do so. If you are not the intended recipient, please notify us immediately by returning this e-mail to us at and destroy all copies. Any views expressed by individuals within this e-mail do not necessarily reflect the views of Dr Pepper Snapple Group. This e-mail does not constitute a binding offer, acceptance, amendment, waiver or other agreement, unless the intent that an e-mail will constitute such is clearly stated in the body of the email. Recipients are advised to subject this e-mail and attachments to their own virus checking, in keeping with good computing practice. Please note that e-mail r
 eceived by Dr Pepper Snapple Group may be monitored in accordance with applicable law.
Received on Wed Feb 18 2009 - 10:26:24 CST

Original text of this message