10年工作经验,专研网站运维。
全部博文(454)
分类: Oracle
2014-07-11 04:04:23
扩大闪回恢复区db_recovery_file_dest_size大小
一、概述
今天数据库发生报错,大概意思是db_recovery_file_dest_size达到上限,被占满。所以就需要扩大flash_recovery_area的大小。
二、错误信息:
Fri Jul 11 02:11:24 2014
Errors in file /orainst/admin/cba/bdump/cba_arc0_123080.trc:
ORA-16038: log 1 sequence# 18214 cannot be archived
ORA-19809: limit exceeded for recovery files
ORA-00312: online log 1 thread 1: '/oradata/cba/redo01.log'
Fri Jul 11 02:12:24 2014
ARCH: Archival stopped, error occurred. Will continue retrying
Fri Jul 11 02:12:24 2014
ORACLE Instance cba - Archival Error
Fri Jul 11 02:12:24 2014
ORA-16014: log 1 sequence# 18214 not archived, no available destinations
ORA-00312: online log 1 thread 1: '/oradata/cba/redo01.log'
Fri Jul 11 02:12:24 2014
Errors in file /orainst/admin/cba/bdump/cba_arc1_356430.trc:
ORA-16014: log 1 sequence# 18214 not archived, no available destinations
ORA-00312: online log 1 thread 1: '/oradata/cba/redo01.log'
Fri Jul 11 02:17:24 2014
Errors in file /orainst/admin/cba/bdump/cba_arc0_123080.trc:
ORA-19815: WARNING: db_recovery_file_dest_size of 6442450944 bytes is 100.00% used, and has 0 remaining bytes available.
Fri Jul 11 02:17:24 2014
************************************************************************
You have following choices to free up space from flash 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.
************************************************************************
ARCH: Archival stopped, error occurred. Will continue retrying
Fri Jul 11 02:17:24 2014
ORACLE Instance cba - Archival Error
Fri Jul 11 02:17:24 2014
ORA-16038: log 1 sequence# 18214 cannot be archived
ORA-19809: limit exceeded for recovery files
ORA-00312: online log 1 thread 1: '/oradata/cba/redo01.log'
Fri Jul 11 02:17:24 2014
Errors in file /orainst/admin/cba/bdump/cba_arc0_123080.trc:
ORA-16038: log 1 sequence# 18214 cannot be archived
ORA-19809: limit exceeded for recovery files
ORA-00312: online log 1 thread 1: '/oradata/cba/redo01.log'
Fri Jul 11 02:18:24 2014
ARCH: Archival stopped, error occurred. Will continue retrying
Fri Jul 11 02:18:24 2014
ORACLE Instance cba - Archival Error
Fri Jul 11 02:18:24 2014
ORA-16014: log 1 sequence# 18214 not archived, no available destinations
ORA-00312: online log 1 thread 1: '/oradata/cba/redo01.log'
Fri Jul 11 02:18:24 2014
Errors in file /orainst/admin/cba/bdump/cba_arc1_356430.trc:
ORA-16014: log 1 sequence# 18214 not archived, no available destinations
ORA-00312: online log 1 thread 1: '/oradata/cba/redo01.log'
三、操作步骤:
3.1 查看当前recovery的限制大小