ORA-19809: limit exceeded for recovery files

本文介绍了解决Oracle数据库中ORA-19809错误的方法,包括扩大flash_recovery_area最大大小及更改归档路径的具体步骤。
使用PL/SQL登录时,报错:
ORA-19809: limit exceeded for recovery files
ORA-19804: cannot reclaim 10017792 bytes disk space from 2147483648 limit
ARC0: Error 19809 Creating archive log file to '/u01/app/oracle/flash_recovery_area/2007_04_30/o1_mf_1_220_0_.arc'
--查看数据库是否归档和归档路径
SQL> archive log list;
数据库日志模式            存档模式
自动存档             启用
存档终点            USE_DB_RECOVERY_FILE_DEST
最早的联机日志序列     13347
下一个存档日志序列   13349
当前日志序列           13349
--数据库默认归档路径位于flash_recovery_area目录下,该目录默认大小是2G
SQL> show parameter DB_RECOVERY_FILE_DEST;

NAME                     TYPE                   VALUE
------------------------------------ --------------------------------- ------------------------------
db_recovery_file_dest             string                   /oracle/flash_recovery_area
db_recovery_file_dest_size         big integer               2G
--可使用两种方式解决:1.扩大flash_recovery_area的最大大小;2.更改归档路径
--扩大flash_recovery_area的最大大小
SQL> alter system set db_recovery_file_dest_size=10737418240;
--或更改归档路径
SQL> alter system set log_archive_dest_1='location=/u02/archivelog' scope=both;
RMAN> backup database plus archivelog; Starting backup at 22-OCT-25 using target database control file instead of recovery catalog allocated channel: ORA_DISK_1 channel ORA_DISK_1: SID=86 device type=DISK channel ORA_DISK_1: starting archived log backup set channel ORA_DISK_1: specifying archived log(s) in backup set input archived log thread=1 sequence=10 RECID=7 STAMP=1214750292 channel ORA_DISK_1: starting piece 1 at 22-OCT-25 channel ORA_DISK_1: finished piece 1 at 22-OCT-25 piece handle=/u01/app/oracle/fast_recovery_area/ORCL/backupset/2025_10_22/o1_mf_annnn_TAG20251022T091505_nhjd0s8j_.bkp tag=TAG20251022T091505 comment=NONE channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01 Finished backup at 22-OCT-25 Starting backup at 22-OCT-25 using channel ORA_DISK_1 channel ORA_DISK_1: starting full datafile backup set channel ORA_DISK_1: specifying datafile(s) in backup set input datafile file number=00001 name=/u01/app/oracle/oradata/orcl/system01.dbf input datafile file number=00002 name=/u01/app/oracle/oradata/orcl/sysaux01.dbf input datafile file number=00005 name=/u01/app/oracle/oradata/ORCL/testdb01.dbf input datafile file number=00003 name=/u01/app/oracle/oradata/orcl/undotbs01.dbf input datafile file number=00004 name=/u01/app/oracle/oradata/orcl/users01.dbf channel ORA_DISK_1: starting piece 1 at 22-OCT-25 RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMAN-03002: failure of backup plus archivelog command at 10/22/2025 09:15:09 ORA-19809: limit exceeded for recovery files ORA-19804: cannot reclaim 67108864 bytes disk space from 4385144832 limit
最新发布
10-23
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值