Does Not Delete Archivelogs Even When They Already Backed Up To Tape_1607250.1
In this Document
Symptoms |
Cause |
Solution |
References |
This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review. |
Applies to:
Oracle Database - Enterprise Edition - Version 11.2.0.3 and laterInformation in this document applies to any platform.
Symptoms
RMAN is failing to delete the archivelog even when a backup exist for the archivelog.
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
RMAN>
connected to target database: SAMER (DBID=3224028897)
RMAN>
connected to recovery catalog database
RMAN>
echo set on
RMAN> show all;
RMAN configuration parameters for database with db_unique_name SAMER are:
CONFIGURE RETENTION POLICY TO NONE;
CONFIGURE BACKUP OPTIMIZATION ON;
CONFIGURE DEFAULT DEVICE TYPE TO 'SBT_TAPE';
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE 'SBT_TAPE' TO '%F';
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F';
CONFIGURE DEVICE TYPE 'SBT_TAPE' PARALLELISM 1 BACKUP TYPE TO BACKUPSET;
CONFIGURE DEVICE TYPE DISK PARALLELISM 1;
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE 'SBT_TAPE' TO 1;
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE 'SBT_TAPE' TO 1;
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
CONFIGURE MAXSETSIZE TO 30 G;
CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
CONFIGURE COMPRESSION ALGORITHM 'BASIC' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR
LOAD TRUE ; # default
CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
CONFIGURE SNAPSHOT CONTROLFILE NAME TO
'/APP02/app/oracle/product/11.2/dbs/snapcf_SAMER.f'; # default
..
BS Key Size Device Type Elapsed Time Completion Time
------- ---------- ----------- ------------ -------------------
50756561300 68.75M SBT_TAPE 00:00:02 11/11/2013 00:50:17
BP Key: 50756561303 Status: AVAILABLE Compressed: NO Tag: SEMANAL
Handle: SAMER_20131111_5qoolae7_1_1.bkp Media: 131439
Keep: BACKUP_LOGS Until: 09/02/2014 00:50:12
List of Archived Logs in backup set 50756561300
Thrd Seq Low SCN Low Time Next SCN Next Time
---- ------- ---------- ------------------- ---------- ---------
1 580824 4744548387699 11/11/2013 00:45:02 4744548407643 11/11/2013
00:50:07
RMAN> run {
2> debug on;
3> delete noprompt archivelog until sequence 580824 backed up 1 times to
device type 'SBT_TAPE';
4> debug off;
5> }
RMAN-03036: Debugging set to level=9, types=ALL
RMAN-08030: allocated channel: ORA_DISK_1
RMAN-08500: channel ORA_DISK_1: SID=238 device type=DISK
RMAN-08138: WARNING: archived log not deleted - must create more backups
RMAN-08515: archived log file
name=/ARC01/ORAARC/huemul/respal_respal_LOG_580824_1_566155873.SAMER
thread=1 sequence=580824
Cause
This is expected behavior when using RMAN Keep option.
Solution
This is expected behavior when using RMAN Keep option.
.
delete noprompt archivelog until sequence 580824 backed up 1 times to
device type 'SBT_TAPE';
.
-> RMAN-08138: WARNING: archived log not deleted - must create more backups
.
Because the backup of the archivelog has the KEEP
attribute, it does not count towards the number of backups of this particular
archivelog, and so the backup directive '...backed up 1 times...' is not
satisfied, and the archivelog is not deleted.
References
BUG:17807533 - RMAN-08138 EVEN WHEN BACKUP EXIST FOR THE FILE來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/17252115/viewspace-1167434/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- recover database delete archivelogs skip tablespace temp;報錯DatabasedeleteHive
- Even so when its slimex 15 concentrations
- Login Oracle Instance Even When sysdba Cannot Do SoOracle
- 通過no backed up times可以檢查歸檔是否有過備份
- 【HPUX】What to do when mount does not work on HP-UX?UX
- ORA-19599 When Backing up an Archivelog that is CorruptHive
- ''Sbt Error = 7011, Errno = 959'' Error When Backing Up To TapeError
- Vip Does Not Failover When Nodeapps Stopped (Doc ID 749160.1)AIAPP
- How does ASM work with RAID where striping and mirroring are already built-in?ASMAIUI
- Agent Startup Fails When the Repository DB Does Not Support TZ of Agent-332131.1AI
- jQuery :evenjQuery
- Bringing up interface eth0: Device eth0 does not seem to be present ,delayindev
- vagrant up 啟動報錯 Stderr: VBoxManage.exe: error: A NAT rule of this name already existsError
- ORA-600 [13011] when trying to delete a row-28184.1delete
- ORA-00845 When Starting Up An 11g Instance With AMM Configured
- prettier Unexpected closing tag "p". It may happen when the tag has already been closed by another tag.APP
- It's not even the whole quest. In this article
- How To Restore Archivelogs That Belongs To Another Incarnation_1326236.1RESTHive
- wake up
- Level Up
- [ARC146C] Even XOR
- delete input 與 delete all inputdelete
- delete OBSOLETE 與 delete expirieddelete
- ORACLE CASE WHEN 及 SELECT CASE WHEN的用法Oracle
- deletedelete
- Thread already joined at **thread
- Mourinho said Chelsea are not even close winningAI
- Oracle Case WhenOracle
- SQL Case WhenSQL
- When to Partition a Table
- day day up
- delete 和 delete [] 的真正區別delete
- 奇怪報錯資訊“db already exists with different case already have”解決方法
- delete與delete[]需要注意的地方delete
- LeetCode-Odd Even Linked ListLeetCode
- [CareerCup] 5.6 Swap Odd and Even Bits 交換奇偶位
- Nothing lasts forever, Even cold November rainASTAI
- getOutputStream() has already been called