您好,登錄后才能下訂單哦!
進(jìn)行歸檔恢復(fù)的時(shí)候數(shù)據(jù)庫報(bào)以下錯(cuò)誤:
RMAN-08591: WARNING: invalid archived log deletion policy
查看ORA錯(cuò)誤解釋:
[oracle@021Y-SH-BKAP ~]$ oerr rman 8591 8591, 3, "WARNING: invalid archived log deletion policy" // *Cause: An invalid ARCHIVELOG DELETION POLICY was supplied. The archived // log deletion policy was APPLIED but there was no mandatory // archived log destinations. // *Action: One of the following: // 1) Change archived log deletion policy using CONFIGURE command // 2) Make one or more of standby destination as MANDATORY.
說明這是由于備庫是從主庫獲取的日志歸檔,而不是歸檔的傳輸者,因此該策略部符合該庫的角色,進(jìn)入rman工具:
[oracle@021Y-SH-BKAP ~]$ rman target / Recovery Manager: Release 11.2.0.1.0 - Production on Mon Feb 2 13:59:10 2015 Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved. connected to target database: ORCL (DBID=1394247230) RMAN> show all; using target database control file instead of recovery catalog RMAN configuration parameters for database with db_unique_name ORCL are: CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default CONFIGURE BACKUP OPTIMIZATION OFF; # default CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default CONFIGURE CONTROLFILE AUTOBACKUP ON; CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/DBBK/oracle/backup/control%F.bkp'; CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default CONFIGURE MAXSETSIZE TO UNLIMITED; # default 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 SHIPPED TO STANDBY; # default CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/DBBK/oracle/product/11.2.0.1.0/dbs/snapcf_orcl.f'; # default
修改RMAN配置
RMAN> configure ARCHIVELOG DELETION POLICY clear;
免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場,如果涉及侵權(quán)請(qǐng)聯(lián)系站長郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。