Вы находитесь на странице: 1из 2

1/28/2014 Document 1324759.

Rman Deletes Archive Log On Primary Database Not Applied On Physical Standby (Doc ID
1324759.1)
Modified: 14-Aug-2013 Type: PROBLEM

In this Document

Symptoms
Cause
Solution
References

APPLIES TO:

Oracle Database - Enterprise Edition - Version 11.2.0.1 to 11.2.0.3 [Release 11.2]


Information in this document applies to any platform.
***Checked for relevance on 14-Aug-2013***

SYMPTOMS

If CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON ALL STANDBY and then backing up archived logs with
option NOT BACKED UP <n> TIMES DELETE INPUT is executed from rimary, archived logs which have been backed up
and not yet APPLIED on Standby are incorrectly deleted. The configured ARCHIVELOG DELETION POLICY is ignored.

From RMAN output we see the archives are deleted after backup:

RMAN> backup archivelog all not backed up 1 times delete input;


...
RMAN-8071: channel ORA_DISK_1: deleting archived log(s)
name=/u01/orcl/FRA/STRL/archivelog/2010_09_16/o1_mf_1_37_693ykknr_.arc

We also see RMAN configuration showing:

CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON ALL STANDBY;

From primary we see on V$ARCHIVED_LOG the archivelogs having APPLIED column in NO, but still Deleted:

SQL> select sequence#,thread#,creator,archived,applied,deleted,status


from v$archived_log where sequence#=1621 and thread#=1;

SEQUENCE# THREAD# CREATOR ARCHIVED APPLIED DELETED STATUS

1621 1 ARCH YES NO YES D

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrl-state=uatg2aba6_195&id=1324759.1 1/2
1/28/2014 Document 1324759.1

CAUSE

Problem has been identified on:

Bug 10114837 RMAN DELETES THE UNAPPLIED ARCHIVED REDO LOGS

The problem is raised only when the RMAN back up of the archivelog files is using NOT BACKED UP option.

SOLUTION

Suggested workaround is not to use NOT BACKED UP option.

Problem is solved by applying Patch 10114837 and will be included in Patchset 11.2.0.3

If the patch is needed but not available for your platform please file a Service Request for a Backport to get the fix.

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrl-state=uatg2aba6_195&id=1324759.1 2/2

Вам также может понравиться