• delete noprompt archivelog 报错ORA-00245,RMAN-08132


    在RMAN执行  delete noprompt archivelog until time 'sysdate-1';  报错
     
    ORA-00245: control file backup failed; in Oracle RAC, target might not be on shared storage
     
    RMAN-08132: WARNING: cannot update recovery area reclaimable file list
     
    查看RMAN配置
    RMAN> show all;
     
    RMAN configuration parameters for database with db_unique_name STANDBY 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 '%F'; # default
    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 RMAN OUTPUT TO KEEP FOR 7 DAYS; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/app/oracle/product/12.1.0/db_1/dbs/snapcf_gxshis1.f'; # default
     
     
    原因:
    控制文件快照不是放在共享文件系统上。
     
    解决办法:
    把控制文件快照放在共享文件系统上。
     
    RMAN >  CONFIGURE SNAPSHOT CONTROLFILE NAME TO '+DATA/STANDBY/CONTROLFILE/snapcf_gxshis1.f'; 
     
     
  • 相关阅读:
    安装python包
    在RHEL5.4上升级Python
    IronPython开发Windows Form程序总结
    Windows下手动配置Oracle Client的要点
    dreampie一个很不错的python命令行交互工具
    Eclipse插件汇总
    pyDbRowFactory Python版Db Row Factory
    如何让Jython自动加载一个Jar包
    跨计算机执行的几个方法
    Python 版 Instance Activator
  • 原文地址:https://www.cnblogs.com/l10n/p/9405836.html
Copyright © 2020-2023  润新知