主庫刪歸檔的時候報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 之前的記錄只能手動 刪除。

刪除后問題解決

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM