主库删归档的时候报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 之前的记录只能手动 删除。

删除后问题解决

 

posted on 2021-01-15 19:32  包子没馅  阅读(5281)  评论(0编辑  收藏  举报

导航