ORA-19809 歸檔空間未定期清理,導致閃回空間不足

alert輸出提示

************************************************************************
You have following choices to free up space from recovery area:
1. Consider changing RMAN RETENTION POLICY. If you are using Data Guard,
   then consider changing RMAN ARCHIVELOG DELETION POLICY.
2. Back up files to tertiary device such as tape using RMAN
   BACKUP RECOVERY AREA command.
3. Add disk space and increase db_recovery_file_dest_size parameter to
   reflect the new space.
4. Delete unnecessary files using RMAN DELETE command. If an operating
   system command was used to delete files, then use RMAN CROSSCHECK and
   DELETE EXPIRED commands.
************************************************************************
Errors in file /u01/app/oracle/diag/rdbms/skyhost/skyHost/trace/skyHost_ora_3116.trc:
ORA-19809: limit exceeded for recovery files
ORA-19804: cannot reclaim 45920768 bytes disk space from 4070572032 limit
ARCH: Error 19809 Creating archive log file to '/u01/app/oracle/flash_recovery_area/SKYHOST/archivelog/2017_11_10/o1_mf_1_113_%u_.arc'
Errors in file /u01/app/oracle/diag/rdbms/skyhost/skyHost/trace/skyHost_ora_3116.trc:
ORA-16038: log 2 sequence# 113 cannot be archived
ORA-19809: limit exceeded for recovery files
ORA-00312: online log 2 thread 1: '/u01/app/oracle/oradata/skyHost/redo02.log'

解決辦法

  1. 數據庫啓動到mount狀態
  2. 系統上刪除歸檔文件(先做備份)
  3. RMAN上刪除這些歸檔記錄crosscheck archivelog all;delete expired archivelog all;
  4. 數據庫打開 alter database open;
  5. 之後維護中 調整db_recovery_file_dest_size的大小;或者定時清理日誌文件,監控文件夾容量
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章