加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

ORA-19815: WARNING: db_recovery_file_dest_size of 5218762752

发布时间:2020-12-15 06:23:56 所属栏目:百科 来源:网络整理
导读:今天一个同学问的一个有关数据库的问题,我看了一下alert日志,发现有以下报错信息。现记录下来,以备后用 ORA-19815: WARNING: db_recovery_file_dest_size of 5218762752 bytes is 100.00% used,and has 0 remaining bytes available. *******************

今天一个同学问的一个有关数据库的问题,我看了一下alert日志,发现有以下报错信息。现记录下来,以备后用

ORA-19815: WARNING: db_recovery_file_dest_size of 5218762752 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 e:appadministratordiagrdbmsorclorcltraceorcl_ora_3488.trc:
ORA-19809: limit exceeded for recovery files
ORA-19804: cannot reclaim 41370112 bytes disk space from 5218762752 limit
ARCH: Error 19809 Creating archive log file to 'E:APPADMINISTRATORFLASH_RECOVERY_AREAORCLARCHIVELOG2010_10_22O1_MF_1_192_%U_.ARC'
Errors in file e:appadministratordiagrdbmsorclorcltraceorcl_ora_3488.trc:
ORA-16038: log 3 sequence# 192 cannot be archived
ORA-19809: limit exceeded for recovery files
ORA-00312: online log 3 thread 1: 'E:DATAORCLREDO03.LOG'
USER (ospid: 3488): terminating the instance due to error 16038
Instance terminated by USER,pid = 3488

?

SQL > startup mount

SQL > alter system set db_recovery_file_dest_size=10G scope=both;

总结一下:

LOG_ARCHIVE_DEST is applicable only if you are running the database in ARCHIVELOG mode or are recovering a database from archived redo logs. LOG_ARCHIVE_DEST is incompatible with the LOG_ARCHIVE_DEST_n parameters,and must be defined as the null string ("") or (' ') when any LOG_ARCHIVE_DEST_n parameter has a value other than a null string. Use a text string to specify the default location and root of the disk file or tape device when archiving redo log files. (Archiving to tape is not supported on all operating systems.) The value cannot be a raw partition.

DB_RECOVERY_FILE_DEST specifies the default location for the flash recovery area. The flash recovery area contains multiplexed copies of current control files and online redo logs,as well as archived redo logs,flashback logs,and RMAN backups.

log_archive_dest是归档日志
db_recovery_file_dest是闪回
不一样的,如果归档和闪回打开的话分别使用各自的目录,

这次报错就是因为闪回使用的5G全部用完了,所以增加到20G ,问题解决

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读