首页 > 数据库 > Oracle > ARCHIVE归档日志爆满故障ORA-00257

报错日志如下:
Errors in file /u01/app/oracle/diag/rdbms/XXX/XXX/trace/XXX_arc0_1687690.trc:
ORA-19815: WARNING: db_recovery_file_dest_size of 85899345920 bytes is 100.00% used, and has 0 remaining bytes available.
************************************************************************
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/XXX/XXX/trace/XXX_arc0_1687690.trc:
ORA-19809: limit exceeded for recovery files
ORA-19804: cannot reclaim 465567744 bytes disk space from 85899345920 limit
ARC0: Error 19809 Creating archive log file to '+DATA'
ARCH: Archival stopped, error occurred. Will continue retrying
ORACLE Instance otmdb2 - Archival Error
ORA-16038: log 4 sequence# 106589 cannot be archived
ORA-19809: limit exceeded for recovery files
ORA-00312: online log 4 thread 2: '+DATA/XXX/onlinelog/group_4_redo_log_04_01.log'
ORA-00312: online log 4 thread 2: '/u01/app/oracle/product/group_4_redo_log_04_02.log'
3、计算flash recovery area已经占用的空间:(这里的8就是闪回空间总容量)
select sum(percent_space_used)*8/100 from v$flash_recovery_area_usage;
--查看归档日志空间使用情况(PERCENT_SPACE_USED是已使用的百分比)
select FILE_TYPE,PERCENT_SPACE_USED,NUMBER_OF_FILES from v$flash_recovery_area_usage where file_type='ARCHIVED LOG'
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/28371090/viewspace-1708893/ ,如需转载,请注明出处,否则将追究法律责任。