手机版
你好,游客 登录 注册 搜索
背景:
阅读新闻

Oracle真实案例之闪回区存储空间耗尽解决方法(ORA-19815解决方法)

[日期:2012-06-11] 来源:Linux公社  作者:dl528888 [字体:大 中 小]

这个是一个真实的Oracle(ORA-19815解决方法)的案例,希望对大家有帮助。

今天朋友公司的平台出现了登陆缓慢、查询数据慢问题,并且通过spotlight监控oracle也出现登陆不成功现象,通过查看系统的内存、进程等,没有发现问题,最后找到了我,我先查看了一下平台的内存、进程,也没有发现问题,最后查看oracle的告警日志,发现问题如下:
  1. ARC0: Failed to archive thread 1 sequence 53 (19809)  
  2. Sun Jun 10 23:12:12 2012  
  3. Errors in file /home/oracle/admin/BGTP/bdump/bgtp_arc1_3906.trc:  
  4. ORA-19815: WARNING: db_recovery_file_dest_size of 2147483648 bytes is 100.00% used, and has 0 remaining bytes available.  
  5. Sun Jun 10 23:12:12 2012  
  6. ************************************************************************  
  7. You have following choices to free up space from flash recovery area:  
  8. 1. Consider changing RMAN RETENTION POLICY. If you are using Data Guard,  
  9.    then consider changing RMAN ARCHIVELOG DELETION POLICY.  
  10. 2. Back up files to tertiary device such as tape using RMAN  
  11.    BACKUP RECOVERY AREA command.  
  12. 3. Add disk space and increase db_recovery_file_dest_size parameter to  
  13.    reflect the new space.  
  14. 4. Delete unnecessary files using RMAN DELETE command. If an operating  
  15.    system command was used to delete files, then use RMAN CROSSCHECK and  
  16.    DELETE EXPIRED commands.  
  17. ************************************************************************  
是ORA-19815问题,通过metalink查询,是闪回区空间耗尽,解决的方法我使用增大闪回区的存储空间,来解决此问题
现在先查看一下v$recovery_file_dest试图

可以发现可以回收的空间为0,在查看闪回区的使用率

 

  1. SQL> select file_type, percent_space_used as used,percent_space_reclaimable as reclaimable, number_of_files as "number" from v$flash_recovery_area_usage;   
  2.  
  3. FILE_TYPE      USED RECLAIMABLE number  
  4. ------------ ---------- ----------- ----------  
  5. CONTROLFILE       0       0      0  
  6. ONLINELOG         0       0      0  
  7. ARCHIVELOG    98.65       0     51  
  8. BACKUPPIECE       0       0      0  
  9. IMAGECOPY         0       0      0  
  10. FLASHBACKLOG          0       0      0  
  11.  
  12. 6 rows selected.  
linux
相关资讯       Oracle存储过程 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款