1/28/2014 Bug 10114837
Bug 10114837 : RMAN DELETES THE UNAPPLIED ARCHIVED REDO LOGS
Bug Attributes
Fixed in
Type B - Defect Product 12.1
Version
2 - Severe Loss of Product
Severity 11.2.0.1
Service Version
80 - Development 212 - IBM AIX on
Status to QA/Fix Delivered Platform POWER Systems
Internal (64-bit)
Platform
Created 15-Sep-2010 NO DATA
Version
Updated 17-Aug-2013 Base Bug N/A
Database Affects
11.2.0.1 Generic
Version Platforms
Product
Oracle
Source
Related Products
Oracle Database
Line Family Oracle Database
Products
5 - Oracle Database -
Area Oracle Database Product
Enterprise Edition
Hdr: 10114837 11.2.0.1 RDBMS 11.2.0.1 RMAN PRODID-5 PORTID-212
Abstract: RMAN DELETES THE UNAPPLIED ARCHIVED REDO LOGS
*** 09/14/10 11:41 pm *** (CHG: RDBMS Ver.-> NULL -> 11.2.0.1)
*** 09/14/10 11:41 pm ***
----
3-2099704761
PROBLEM:
--------
11.2.0.1 primary with physical standby
primary is enforced with below persistent configuration
CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON ALL STANDBY;
rman deletes the unapplied archived redo logs, when using "not backed up"
clause
backup archivelog all not backed up 1 times delete input;
If we don't include "not backed up" cluase, it does not remove the unapplied
archived redo logs. rman reports the warning message correctly
RMAN-8120: WARNING: archived log not deleted, not yet applied by standby
DIAGNOSTIC ANALYSIS:
https://support.oracle.com/epmos/faces/BugDisplay?_adf.ctrl-state=uatg2aba6_174&id=10114837 1/4
1/28/2014 Bug 10114837
--------------------
WORKAROUND:
-----------
don't use "not backed up" clause
RELATED BUGS:
-------------
6216036
REPRODUCIBILITY:
----------------
completely reproducible.
TEST CASE:
----------
configure physical standby
make rman persistent configuration at primary
CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON ALL STANDBY;
cancel managed recovery at standby
Let it continue to receive arc logs from primary and not being applied
try to backup and delete the unapplied archive log sequence
backup archivelog sequence 10 not backed up 1 times delete input;
This will delete the arc log seq 10.
STACK TRACE:
------------
SUPPORTING INFORMATION:
-----------------------
24 HOUR CONTACT INFORMATION FOR P1 BUGS:
----------------------------------------
DIAL-IN INFORMATION:
--------------------
IMPACT DATE:
------------
*** 09/14/10 11:57 pm ***
*** 09/16/10 03:47 am ***
*** 09/16/10 07:52 am *** (CHG: Sta->11)
*** 09/16/10 07:52 am ***
*** 09/16/10 07:52 am *** (ADD: Impact/Symptom->FEATURE UNUSABLE )
*** 09/16/10 07:53 am ***
*** 09/16/10 07:53 am ***
*** 09/17/10 05:39 pm ***
*** 09/17/10 05:39 pm ***
*** 09/24/10 12:13 pm ***
*** 09/28/10 02:35 pm ***
*** 12/10/10 06:43 pm ***
https://support.oracle.com/epmos/faces/BugDisplay?_adf.ctrl-state=uatg2aba6_174&id=10114837 2/4
1/28/2014 Bug 10114837
*** 01/07/11 10:48 am ***
RELEASE NOTES:
]]If CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON ALL STANDBY and then
]]backing up archived log with option NOT BACKED UP <n> TIMES DELETE INPUT is
]]commanded from Primary, archived logs which have been backed up and not yet
]]APPLIED on Standby are incorrectly deleted. The configured ARCHIVELOG
]]DELETION POLICY is ignored.
REDISCOVERY INFORMATION:
1. RMAN CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON [ALL[ STANDBY
2. On DG Primary, BACKUP ARCHIVELOG ... NOT BACKED UP <n> TIMES DELETE INPUT
3. On DG Primary, V$ARCHIVED_LOG APPLIED='NO' and DELETED='YES' and BACKUP_COU
NT>0
WORKAROUND:
Do not use NOT BACKED UP option.
*** 01/13/11 06:08 pm ***
*** 01/13/11 06:08 pm ***
*** 01/13/11 06:08 pm *** (CHG: Sta->80)
*** 01/14/11 12:56 am ***
*** 01/14/11 01:00 am ***
*** 01/14/11 01:07 am ***
*** 01/14/11 05:40 am ***
*** 01/14/11 08:01 pm ***
*** 01/14/11 08:14 pm ***
*** 01/15/11 03:05 am ***
*** 01/16/11 11:35 pm ***
*** 01/17/11 12:01 am ***
*** 01/17/11 02:06 am ***
*** 01/17/11 11:25 am ***
*** 01/18/11 02:16 am ***
*** 01/18/11 02:16 am ***
*** 01/18/11 05:06 am ***
*** 01/18/11 09:52 pm ***
*** 01/18/11 11:52 pm ***
*** 01/19/11 02:05 am ***
*** 01/19/11 05:39 am ***
*** 01/19/11 08:44 am ***
*** 01/19/11 09:22 am ***
*** 01/19/11 06:12 pm ***
*** 01/19/11 06:14 pm ***
*** 01/19/11 10:53 pm ***
*** 01/20/11 01:31 am ***
*** 01/20/11 04:04 am ***
*** 01/20/11 06:59 am ***
*** 01/20/11 09:13 am ***
*** 01/20/11 01:52 pm ***
*** 01/20/11 04:58 pm ***
*** 01/21/11 04:05 am ***
*** 01/24/11 11:32 am ***
*** 01/25/11 02:17 am ***
*** 02/02/11 04:34 am ***
*** 02/04/11 08:24 pm ***
*** 02/05/11 02:29 pm ***
*** 02/05/11 07:18 pm ***
*** 02/05/11 09:35 pm ***
*** 02/07/11 01:37 am ***
*** 02/07/11 06:12 am ***
*** 02/07/11 08:31 pm ***
*** 02/08/11 01:52 pm ***
https://support.oracle.com/epmos/faces/BugDisplay?_adf.ctrl-state=uatg2aba6_174&id=10114837 3/4
1/28/2014 Bug 10114837
*** 02/08/11 02:41 pm ***
*** 02/08/11 09:09 pm ***
*** 02/08/11 10:30 pm ***
*** 02/08/11 11:27 pm ***
*** 02/09/11 11:49 pm ***
*** 02/10/11 05:23 pm ***
*** 02/11/11 11:51 pm ***
*** 02/12/11 05:09 pm ***
*** 03/07/11 11:13 am ***
*** 03/07/11 11:13 am ***
*** 03/07/11 11:53 am ***
*** 03/08/11 08:51 pm ***
*** 03/09/11 10:42 pm ***
*** 03/15/11 01:52 pm ***
*** 03/15/11 02:40 pm ***
*** 05/26/11 09:44 am ***
*** 05/30/11 10:31 pm ***
*** 06/21/11 02:30 pm ***
*** 09/21/11 08:48 pm ***
*** 09/21/11 09:48 pm ***
*** 10/07/11 05:34 am ***
*** 10/07/11 05:37 am ***
*** 10/28/11 05:54 am ***
*** 10/28/11 06:35 am ***
*** 10/28/11 06:35 am ***
*** 10/31/11 05:01 am ***
*** 10/31/11 05:03 am ***
*** 11/05/11 10:06 pm ***
*** 01/23/12 08:16 pm ***
*** 02/14/12 02:35 pm ***
*** 02/14/12 02:56 pm ***
*** 02/23/12 09:58 pm ***
*** 02/29/12 04:14 pm ***
*** 04/27/12 05:31 am ***
*** 06/19/12 09:25 am ***
*** 06/26/12 02:28 am ***
*** 06/27/12 03:34 pm ***
*** 07/08/12 08:33 am ***
*** 07/17/12 12:17 pm ***
*** 07/20/12 01:30 am ***
*** 07/20/12 01:08 pm ***
*** 07/20/12 01:08 pm ***
*** 08/06/12 03:18 am ***
*** 08/06/12 03:18 am ***
*** 10/16/12 01:39 am ***
*** 03/08/13 02:59 am ***
*** 03/08/13 02:59 am ***
*** 04/04/13 10:53 pm ***
*** 07/08/13 09:36 pm ***
*** 07/09/13 09:39 pm ***
*** 07/09/13 10:17 pm ***
*** 08/17/13 06:36 am ***
https://support.oracle.com/epmos/faces/BugDisplay?_adf.ctrl-state=uatg2aba6_174&id=10114837 4/4