ORA-19815: WARNING: db_recovery_file_dest_size of 2147483648 bytes is 98.85% used

ORA-19815: WARNING: db_recovery_file_dest_size of 2147483648 bytes is 98.85% used  

2012-11-24 01:27:38|  分类: Oracle |  标签: |举报 |字号 订阅

Errors in file /opt/oracle/admin/test/bdump/test_mmon_9344.trc:
ORA-19815: WARNING: db_recovery_file_dest_size of 2147483648 bytes is 98.85% used, and has 24658944 remaining bytes available.
Fri Nov 23 23:23:55 2012
************************************************************************
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.
************************************************************************
Fri Nov 23 23:23:55 2012


--查看当前 recovery_file_dest 使用情况
set lines 200
select substr(name,1,30) name,space_limit as quota,space_used as used,space_reclaimable as reclaimable,number_of_files as files from v$recovery_file_dest;

解决方法一:
--扩大db_recovery_file_dest_size大小
SQL> show parameter recovery

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
db_recovery_file_dest                string      /opt/oracle/flash_recovery_are
                                                 a
db_recovery_file_dest_size           big integer 2G
recovery_parallelism                 integer     0

解决方法二:
--清理快速恢复区信息
NAME                                                              QUOTA       USED RECLAIMABLE      FILES
------------------------------------------------------------ ---------- ---------- ----------- ----------
/opt/oracle/flash_recovery_are                               2147483648 2122824704           0         50


rman 执行:
run {
crosscheck archivelog all;
delete noprompt obsolete;
crosscheck backup;
delete noprompt expired archivelog all;
delete noprompt expired backup;
resync catalog;
}

--查看执行之后 recovery_file_dest 使用情况
NAME                                                              QUOTA       USED RECLAIMABLE      FILES
------------------------------------------------------------ ---------- ---------- ----------- ----------
/opt/oracle/flash_recovery_are                               2147483648          0           0          0

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值