码迷,mamicode.com
首页 > 数据库 > 详细

Oracle 闪回区满解决办法

时间:2014-10-16 11:56:22      阅读:324      评论:0      收藏:0      [点我收藏+]

标签:oracle   闪回区满   

闪回区满:
OS: rm -rf [archivelog  autobackup  backupset  controlfile  flashback  onlinelog]
eg :
archivelog  autobackup  backupset  controlfile  flashback  onlinelog
[oracle@jibo PROD]$ cd autobackup/
[oracle@jibo autobackup]$ ls
2014_10_13  2014_10_15  2014_10_16
[oracle@jibo autobackup]$ rm -rf 2014_10_13
[oracle@jibo autobackup]$ rm -rf 2014_10_15

RMAN:

RMAN> crosscheck backup;
RMAN> delete expired backup;

RMAN> crosscheck archivelog all;
RMAN> delete expired archivelog all;

sqlplus:

SYS@PROD>show parameter db_re

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
db_recovery_file_dest                string      /u01/app/oracle/fast_recovery_
                                                 area
db_recovery_file_dest_size           big integer 4G
db_recycle_cache_size                big integer 0
SYS@PROD>desc v$recovery_area_usage;
 Name                                      Null?    Type
 ----------------------------------------- -------- ----------------------------
 FILE_TYPE                                          VARCHAR2(20)
 PERCENT_SPACE_USED                                 NUMBER
 PERCENT_SPACE_RECLAIMABLE                          NUMBER
 NUMBER_OF_FILES                                    NUMBER

SYS@PROD>select sum(PERCENT_SPACE_USED) from v$recovery_area_usage;

SUM(PERCENT_SPACE_USED)
-----------------------
                  33.45

Oracle 闪回区满解决办法

标签:oracle   闪回区满   

原文地址:http://blog.csdn.net/demonson/article/details/40142991

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!