oracle RMAN-08138錯誤詳解

來源:互聯網
上載者:User

1.1.1. RMAN-08138

日期:2014-05-21 14:36

環境:測試環境

【情景描述】

在測試機上,使用RMAN來刪除歸檔記錄檔的時候,提示WARNING警告,並且歸檔日誌無法刪除。

【報錯資訊】

RMAN> delete archivelog all completed before 'sysdate';

released channel: ORA_DISK_1

allocated channel: ORA_DISK_1

channel ORA_DISK_1: SID=129 devicetype=DISK

RMAN-08138: WARNING: archived log notdeleted - must create more backups

archived log filename=/U01/app/test/rman/fra/TESTDB/archivelog/2014_05_20/o1_mf_1_68_9qo951ol_.arcthread=1 sequence=68

【報錯原因】

在RMAN中執行的delete命令跟RMAN中配置的archive log deletion策略相互衝突導致的。

【解決方案】

因為是在測試環境中測試用的,所以修改RMAN中歸檔日誌的刪除策略,然後執行delete命令刪除歸檔日誌。

當前的歸檔日誌刪除策略:

CONFIGURE ARCHIVELOG DELETION POLICY TOBACKED UP 3 TIMES TO DISK;

修改策略:

RMAN> configure archivelog deletionpolicy clear;

修改後:

CONFIGURE ARCHIVELOG DELETION POLICY TONONE; # default

刪除歸檔日誌:

RMAN> delete archivelog all completed;

本欄目更多精彩內容:http://www.bianceng.cnhttp://www.bianceng.cn/database/Oracle/

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.