Welcome 微信登录

首页 / 数据库 / MySQL / Oracle真实案例之闪回区存储空间耗尽解决方法(ORA-19815解决方法)

这个是一个真实的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试图650) this.width=650;" border=0>可以发现可以回收的空间为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.  
  • 1
  • 2
  • 3
  • 下一页
浅谈Oracle SQL traceOracle经典乱码问题——靠靠靠靠相关资讯      Oracle存储过程 
  • Oracle存储过程拼接in语句 & 自定  (今 09:21)
  • 【PL/SQL系列】Oracle存储过程使用  (04月23日)
  • Oracle存储过程及Java调用  (05/28/2015 20:29:33)
  • Java调用Oracle存储过程返回多条结  (04月29日)
  • Oracle中的存储过程简单应用  (04月10日)
  • 判断点是否落在面中的Oracle存储过  (05/09/2015 09:39:30)
本文评论 查看全部评论 (0)
表情: 姓名: 字数


评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担