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 adg主庫通過rman無法刪除歸檔Oracle
- 在Oracle中,如何定時刪除歸檔日誌檔案?Oracle
- DATA GUARD主庫丟失資料檔案的恢復(3)
- DATA GUARD主庫丟失資料檔案的恢復(1)
- DATA GUARD主庫丟失資料檔案的恢復(2)
- 刪除歸檔
- oracle rman 刪除過期的歸檔Oracle
- RMAN正確地刪除Archivelog以及設定有備庫的歸檔刪除策略Hive
- ORACLE NBU調取oracle rman指令碼備份歸檔不自動刪除歸檔Oracle指令碼
- oracle 刪除過期的歸檔日誌Oracle
- [重慶思莊每日技術分享]-RMAN-08137 主庫無法刪除歸檔檔案
- 達夢資料庫DM8之刪除歸檔日誌檔案資料庫
- oracle徹底刪除資料檔案Oracle
- Oracle 檔案意外刪除恢復(Linux)OracleLinux
- Oralce資料庫關閉歸檔日誌並且刪除歸檔日誌資料庫
- Oracle10g刪除資料檔案Oracle
- SVN !檔案刪除
- rm 刪除檔案
- Git——刪除檔案Git
- 咦?Oracle歸檔檔案存哪了?Oracle
- Git刪除指定檔案Git
- Linux批量刪除檔案Linux
- dll檔案刪除不了
- Linux刪除檔案命令Linux
- 【DG】Data Guard主備庫Failove切換AI
- 【DG】Data Guard主備庫Switchover切換
- oracle歸檔Oracle
- 通過RMAN設定standby接收日誌後主庫歸檔日誌才可刪除
- 使用Data Guard Broker進行Data Guard物理備用庫配置(Oracle 19c)Oracle
- 1.7.8. 刪除資料庫密碼檔案資料庫密碼
- rimraf 命令強制刪除依賴庫檔案
- Oracle Data Guard Broker元件Oracle元件
- Oracle Data Guard簡介Oracle
- 【ARCH】留存,Oracle11g之前Dataguard環境刪除歸檔指令碼Oracle指令碼
- win10休眠檔案有必要刪除嗎 刪除休眠檔案的方法Win10
- linux下恢復誤刪除oracle的資料檔案LinuxOracle
- MySQL socket檔案被刪除MySql
- [20201112]tmpwatch 刪除檔案.txt
- linux 模糊批量刪除檔案Linux