Oracle Data Guard 主庫 歸檔檔案 刪除策略--續
今天有機會做了測試,成功了。
Log內容:
Recovery Manager: Release 10.2.0.4.0 - Production on Fri Jul 1 17:07:25 2011
Copyright (c) 1982, 2007, Oracle. All rights reserved.
connected to target database: ORCL (DBID=1275712672)
using target database control file instead of recovery catalog
using target database control file instead of recovery catalog
RMAN>
RMAN> 2> 3> 4> 5> 6> 7> 8> 9> 10> 11> 12> 13> 14> 15> 16>
allocated channel: c1
channel c1: sid=146 devtype=DISK
RMAN> 2> 3> 4> 5> 6> 7> 8> 9> 10> 11> 12> 13> 14> 15> 16>
allocated channel: c1
channel c1: sid=146 devtype=DISK
allocated channel: c2
channel c2: sid=145 devtype=DISK
sql statement: alter system archive log current
Starting backup at 01-JUL-11
current log archived
channel c1: starting archive log backupset
channel c1: specifying archive log(s) in backup set
input archive log thread=1 sequence=42 recid=56 stamp=755367063
input archive log thread=1 sequence=43 recid=78 stamp=755370213
channel c1: starting piece 1 at 01-JUL-11
channel c2: starting archive log backupset
channel c2: specifying archive log(s) in backup set
input archive log thread=1 sequence=44 recid=79 stamp=755370214
input archive log thread=1 sequence=45 recid=82 stamp=755370374
input archive log thread=1 sequence=46 recid=84 stamp=755370447
channel c2: starting piece 1 at 01-JUL-11
channel c1: finished piece 1 at 01-JUL-11
piece handle=s35_1.arc tag=TAG20110701T170729
comment=NONE
channel c1: backup set complete, elapsed time: 00:00:02
channel c1: deleting archive log(s)
archive log filename=oradata/arch/arch_1_42.753
721605.dbf recid=56 stamp=755367063
archive log filename=oracle/oradata/arch/arch_1_43.753
721605.dbf recid=78 stamp=755370213
channel c2: finished piece 1 at 01-JUL-11
piece handle=s36_1.arc tag=TAG20110701T170729
comment=NONE
channel c2: backup set complete, elapsed time: 00:00:02
channel c2: deleting archive log(s)
archive log filename=oradata/arch/arch_1_44.753
721605.dbf recid=79 stamp=755370214
archive log filename=oradata/arch/arch_1_45.753
721605.dbf recid=82 stamp=755370374
RMAN-08137: WARNING: archive log not deleted as it is still needed
archive log filename=oradata/arch/arch_1_46.753
721605.dbf thread=1 sequence=46
channel c1: starting archive log backupset
channel c1: specifying archive log(s) in backup set
input archive log thread=1 sequence=47 recid=86 stamp=755370448
channel c1: starting piece 1 at 01-JUL-11
channel c1: finished piece 1 at 01-JUL-11
piece handle=s37_1.arc tag=TAG20110701T170729
comment=NONE
channel c1: backup set complete, elapsed time: 00:00:02
RMAN-08137: WARNING: archive log not deleted as it is still needed
archive log filename=oradata/arch/arch_1_47.753
721605.dbf thread=1 sequence=47
Finished backup at 01-JUL-11
current log archived
channel c1: starting archive log backupset
channel c1: specifying archive log(s) in backup set
input archive log thread=1 sequence=42 recid=56 stamp=755367063
input archive log thread=1 sequence=43 recid=78 stamp=755370213
channel c1: starting piece 1 at 01-JUL-11
channel c2: starting archive log backupset
channel c2: specifying archive log(s) in backup set
input archive log thread=1 sequence=44 recid=79 stamp=755370214
input archive log thread=1 sequence=45 recid=82 stamp=755370374
input archive log thread=1 sequence=46 recid=84 stamp=755370447
channel c2: starting piece 1 at 01-JUL-11
channel c1: finished piece 1 at 01-JUL-11
piece handle=s35_1.arc tag=TAG20110701T170729
comment=NONE
channel c1: backup set complete, elapsed time: 00:00:02
channel c1: deleting archive log(s)
archive log filename=oradata/arch/arch_1_42.753
721605.dbf recid=56 stamp=755367063
archive log filename=oracle/oradata/arch/arch_1_43.753
721605.dbf recid=78 stamp=755370213
channel c2: finished piece 1 at 01-JUL-11
piece handle=s36_1.arc tag=TAG20110701T170729
comment=NONE
channel c2: backup set complete, elapsed time: 00:00:02
channel c2: deleting archive log(s)
archive log filename=oradata/arch/arch_1_44.753
721605.dbf recid=79 stamp=755370214
archive log filename=oradata/arch/arch_1_45.753
721605.dbf recid=82 stamp=755370374
RMAN-08137: WARNING: archive log not deleted as it is still needed
archive log filename=oradata/arch/arch_1_46.753
721605.dbf thread=1 sequence=46
channel c1: starting archive log backupset
channel c1: specifying archive log(s) in backup set
input archive log thread=1 sequence=47 recid=86 stamp=755370448
channel c1: starting piece 1 at 01-JUL-11
channel c1: finished piece 1 at 01-JUL-11
piece handle=s37_1.arc tag=TAG20110701T170729
comment=NONE
channel c1: backup set complete, elapsed time: 00:00:02
RMAN-08137: WARNING: archive log not deleted as it is still needed
archive log filename=oradata/arch/arch_1_47.753
721605.dbf thread=1 sequence=47
Finished backup at 01-JUL-11
Starting Control File and SPFILE Autobackup at 01-JUL-11
piece handle=flash_recovery_area/ORCL/autobacku
p/2011_07_01/o1_mf_s_755370453_70v3lpq1_.bkp comment=NONE
Finished Control File and SPFILE Autobackup at 01-JUL-11
piece handle=flash_recovery_area/ORCL/autobacku
p/2011_07_01/o1_mf_s_755370453_70v3lpq1_.bkp comment=NONE
Finished Control File and SPFILE Autobackup at 01-JUL-11
released channel: c1
released channel: c2
RMAN>
RMAN>
RMAN>
Recovery Manager complete.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/81227/viewspace-701360/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle Data Guard 主庫歸檔檔案刪除策略Oracle
- Oracle Data Guard 主庫 歸檔檔案 刪除策略Oracle
- 【轉載】Oracle Data Guard 主庫 歸檔檔案 刪除策略Oracle
- 【轉載】Oracle Data Guard 備庫 歸檔檔案 刪除指令碼Oracle指令碼
- 刪除data guard歸檔日誌
- ORACLE刪除歸檔Oracle
- oracle10g data guard(dg)__歸檔日誌備份刪除相關策略_rman_configureOracle
- oracle adg主庫通過rman無法刪除歸檔Oracle
- 強制刪除歸檔檔案
- 刪除歸檔日誌檔案
- 如何正確刪除ORACLE歸檔日誌檔案Oracle
- 備庫歸檔刪除策略失效的問題分析
- 使用RMAN安全刪除歸檔檔案
- Oracle 11g Data Guard 備庫歸檔日誌清理指令碼(保留一週歸檔)Oracle指令碼
- oracle刪除歸檔日誌Oracle
- Oracle歸檔日誌刪除Oracle
- oracle10 data guard(dg)__主庫添刪表空間及資料檔案相關測試Oracle
- dataguard 由於主庫引數未配置歸檔刪除策略導致庫歸檔丟失ORA-16016
- data guard 歸檔日誌管理 (standby)
- data guard 歸檔日誌管理 (primary)
- 定期刪除歸檔檔案的指令碼指令碼
- DATA GUARD主庫丟失資料檔案的恢復(2)
- DATA GUARD主庫丟失資料檔案的恢復(3)
- DATA GUARD主庫丟失資料檔案的恢復(1)
- 邏輯dg刪除主庫過期歸檔日誌
- 在Oracle中,如何定時刪除歸檔日誌檔案?Oracle
- Oracle 11g 自動刪除ASM歸檔檔案指令碼OracleASM指令碼
- Data Guard跳歸檔恢復的案例
- data guard中增加與刪除主備資料庫中的聯機重做日誌與備重做日誌檔案資料庫
- oracle rman 刪除過期的歸檔Oracle
- Data Guard 環境下 主備庫Redo log 的新增與刪除
- 11gR2 RMAN歸檔日誌刪除策略
- oracle10g data guard(dg)__主庫重新命名資料檔案_在備庫上同步重新命名資料檔案Oracle
- Oracle 刪除資料檔案Oracle
- oracle刪除資料檔案Oracle
- 達夢資料庫DM8之刪除歸檔日誌檔案資料庫
- [重慶思莊每日技術分享]-RMAN-08137 主庫無法刪除歸檔檔案
- oracle 刪除過期的歸檔日誌Oracle