[20171208]強制刪除歸檔日誌檔案.txt
[20171208]強制刪除歸檔日誌檔案.txt
--//測試環境,產生日誌太多,想強制刪除.
RMAN> delete archivelog all ;
released channel: ORA_DISK_1
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=106 device type=DISK
RMAN-08137: WARNING: archived log not deleted, needed for standby or upstream capture process
archived log file name=/u01/app/oracle/archivelog/book/1_790_896605872.dbf thread=1 sequence=790
RMAN-08137: WARNING: archived log not deleted, needed for standby or upstream capture process
archived log file name=/u01/app/oracle/archivelog/book/1_791_896605872.dbf thread=1 sequence=791
RMAN-08137: WARNING: archived log not deleted, needed for standby or upstream capture process
--//提示:RMAN-08137: WARNING: archived log not deleted, needed for standby or upstream capture process
$ oerr rman 08137
8137, 3, "WARNING: archived log not deleted, needed for standby or upstream capture process"
// *Cause: An archived log that should have been deleted was not as it was
// required by upstream capture process or Data Guard.
// The next message identifies the archived log.
// *Action: This is an informational message. The archived log can be
// deleted after it is no longer needed. See the
// documentation for Data Guard to alter the set of active
// Data Guard destinations. See the documentation for
// Streams to alter the set of active streams.
--//dataguard 備庫已經停用很久了.要強制刪除歸檔日誌:
RMAN> delete archivelog all force ;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01009: syntax error: found "force": expecting one of: "backed, completed, device, for, like, tag, ;"
RMAN-01007: at line 2 column 23 file: standard input
RMAN> delete
2>
3>
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01009: syntax error: found "end-of-file": expecting one of: "archivelog, backuppiece, backupset, backup, controlfilecopy, copy, datafilecopy, expired, force, foreign, global, noprompt, obsolete, proxy, script"
RMAN-01007: at line 3 column 1 file: standard input
--//提示看force要寫前面...
RMAN> delete force archivelog all;
released channel: ORA_DISK_1
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=106 device type=DISK
List of Archived Log Copies for database with db_unique_name BOOK
=====================================================================
Key Thrd Seq S Low Time
------- ---- ------- - -------------------
1330 1 790 A 2017-11-13 09:48:53
Name: /u01/app/oracle/archivelog/book/1_790_896605872.dbf
...
1497 1 957 A 2017-12-07 13:44:31
Name: /u01/app/oracle/archivelog/book/1_957_896605872.dbf
Do you really want to delete the above objects (enter YES or NO)? YES
--//我經常習慣性寫後面.做一個筆記.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/267265/viewspace-2148449/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 強制刪除歸檔檔案
- 刪除歸檔日誌檔案
- oracle刪除歸檔日誌Oracle
- 歸檔日誌的刪除
- Oracle歸檔日誌刪除Oracle
- 如何正確刪除ORACLE歸檔日誌檔案Oracle
- 刪除data guard歸檔日誌
- 手動刪除歸檔日誌
- 作用RMAN 刪除歸檔日誌
- 當ORACLE歸檔日誌滿後如何正確刪除歸檔日誌Oracle
- 誤刪歸檔日誌除導致備份歸檔日誌失敗
- 刪除歸檔,保留最近的5個歸檔日誌
- 在Oracle中,如何定時刪除歸檔日誌檔案?Oracle
- 新增、刪除日誌檔案
- 手工rm刪除歸檔日誌對備份歸檔日誌的影響
- Oralce資料庫關閉歸檔日誌並且刪除歸檔日誌資料庫
- RMAN delete archivelog命令刪除歸檔日誌及歸檔日誌拷貝deleteHive
- 刪除日誌檔案組與日誌檔案成員
- oracle 刪除過期的歸檔日誌Oracle
- rman刪除歸檔日誌命令集
- crontab不能自動刪除歸檔日誌
- oracle dataguard 自動刪除歸檔日誌Oracle
- 歸檔日誌刪除的五種方法
- 如何定期自動刪除歸檔日誌
- 【Oracle】 rman 刪除歸檔日誌的命令Oracle
- 【警鐘】謹慎刪除歸檔日誌
- 用rman 正確地刪除歸檔日誌
- rac+dg環境刪除歸檔日誌
- rman刪除舊的歸檔日誌問題
- ORA-00257 (線上更改歸檔路徑,刪除歸檔日誌)
- 達夢資料庫DM8之刪除歸檔日誌檔案資料庫
- [20221121]rman刪除歸檔日誌問題.txt
- 控制檔案/歸檔日誌
- DELETE OBSOLETE不刪除歸檔日誌以及歸檔的備份集delete
- 11gR2 RMAN歸檔日誌刪除策略
- DATAGUARD_standby刪除歸檔日誌的指令碼指令碼
- rman 刪除指定時間點的歸檔日誌
- DataGuard已應用歸檔日誌刪除指令碼指令碼