zoukankan      html  css  js  c++  java
  • 主库删归档的时候报specification does not match any archived log in the repository

    specification does not match any archived log in the repository

    RMAN> delete noprompt expired archivelog all;

    released channel: ORA_DISK_1
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=866 device type=DISK
    specification does not match any archived log in the repository

    看归档仍然存在的信息

    2020_12_22/
    2020_12_23/
    2020_12_24/
    2020_12_25/
    2020_12_26/
    2020_12_27/
    2020_12_28/
    2020_12_29/
    2020_12_30/
    2020_12_31/
    2021_01_01/
    2021_01_02/
    2021_01_12/
    2021_01_13/

    怀疑是控制文件记录信息过旧;

    and Real Application Testing options

    SQL> show parameter control_file_record_keep_time

    NAME TYPE VALUE
    ------------------------------------ ----------- ------------------------------
    control_file_record_keep_time integer 7
    SQL>

    验证发现,控制文件信息只保留7天的记录。故2021_01_01 之前的记录只能手动 删除。

    删除后问题解决

  • 相关阅读:
    Codeforces-859C Pie Rules(dp)
    Codeforces-550D Regular Bridge
    Codeforces-534D Handshakes
    抽象类
    内部类
    接口
    初始化
    this 和super
    数据库测试的测试点
    数据库测试的主要内容
  • 原文地址:https://www.cnblogs.com/dqliuq1215/p/14283836.html
Copyright © 2011-2022 走看看