Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1997562
  • 博文数量: 1647
  • 博客积分: 80000
  • 博客等级: 元帅
  • 技术积分: 9980
  • 用 户 组: 普通用户
  • 注册时间: 2008-10-13 15:15
文章分类

全部博文(1647)

文章存档

2011年(1)

2008年(1646)

我的朋友

分类:

2008-10-28 18:09:42

ORA-19815: WARNING: db_recovery_file_dest_size of 53687091200 bytes is 85.00% used,
            and has 8052259328 remaining bytes available.
            *************************************************************
            You have the following choices to free up space from
flash recovery area:
1. Consider changing your RMAN retention policy.
   If you are using dataguard, then consider changing your
   RMAN archivelog deletion policy.
2. Backup files to tertiary device such as tape using the
   RMAN command BACKUP RECOVERY AREA.
3. Add disk space and increase the db_recovery_file_dest_size
   parameter to reflect the new space.
4. Delete unncessary files using the RMAN DELETE command.
   If an OS command was used to delete files, then use
   RMAN CROSSCHECK and DELETE EXPIRED commands.

--------------------next---------------------
 SQL> show parameter recov
NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------
db_recovery_file_dest                string      /msflsh
db_recovery_file_dest_size           big integer 50G
recovery_parallelism                 integer     0
SQL> alter system set db_recovery_file_dest_size=65G scope=both;
System altered.
SQL> show parameter recov
NAME                                 TYPE        VALUE
------------------------------------ ----------- ----------------
db_recovery_file_dest                string      /msflsh
db_recovery_file_dest_size           big integer 65G
recovery_parallelism                 integer     0

--------------------next---------------------
$ rman target /                                                                  
Recovery Manager: Release 10.1.0.3.0 - 64bit Production                         
Copyright (c) 1995, 2004, .  All rights reserved.                         
connected to target database: MMSDB (DBID=799462343)                            
RMAN> show all;                                                                 
using target database controlfile instead of recovery catalog                   
RMAN configuration parameters are:                                              
CONFIGURE RETENTION POLICY TO REDUNDANCY 2;                                     
....                                                                            
RMAN> CONFIGURE RETENTION POLICY TO REDUNDANCY 1;                               
old RMAN configuration parameters:                                              
CONFIGURE RETENTION POLICY TO REDUNDANCY 2;                                     
new RMAN configuration parameters:                                              
CONFIGURE RETENTION POLICY TO REDUNDANCY 1;                                     
new RMAN configuration parameters are successfully stored                       
RMAN> delete obsolete;                                                          
RMAN retention policy will be applied to the command                            
RMAN retention policy is set to redundancy 1                                    
allocated channel: ORA_DISK_1                                                   
channel ORA_DISK_1: sid=127 devtype=DISK                                        
Deleting the following obsolete backups and copies:                             
Type                 Key    Completion Time    Filename/Handle                  
-------------------- ------ ------------------ --------------------             
Backup Set           672    27-NOV-05                                           
Backup Piece       672    27-NOV-05                                             
/msflsh/MMSDB/backupset/2005_11_27/o1_mf_annnn_TAG20051127T043004_1rkkggjh_.bkp 
Backup Set           673    27-NOV-05                                           
Backup Piece       673    27-NOV-05                                             
/msflsh/MMSDB/backupset/2005_11_27/o1_mf_annnn_TAG20051127T043004_1rkkh05d_.bkp 
Backup Set           674    27-NOV-05                                           
Backup Piece       674    27-NOV-05                                             
/msflsh/MMSDB/backupset/2005_11_27/o1_mf_annnn_TAG20051127T043004_1rkkhvtb_.bkp 
Backup Set           676    28-NOV-05                                           
Backup Piece       676    28-NOV-05                                             
/msflsh/MMSDB/backupset/2005_11_28/o1_mf_annnn_TAG20051128T043004_1rn5tfoo_.bkp 
Backup Set           718    03-DEC-05                                           
Backup Piece       718    03-DEC-05                                             
/msflsh/MMSDB/autobackup/2005_12_03/o1_mf_s_576045489_1s1d5kgd_.bkp             
Do you really want to delete the above objects (enter YES or NO)? yes           
deleted backup piece                                                            
backup piece handle=/msflsh/MMSDB/backupset/2005_11_27/                         
o1_mf_annnn_TAG20051127T043004_1rkkggjh_.bkp recid=672 stamp=575440206          
deleted backup piece                                                            
backup piece handle=/msflsh/MMSDB/backupset/2005_11_27/                         
o1_mf_annnn_TAG20051127T043004_1rkkh05d_.bkp recid=673 stamp=575440224          
deleted backup piece                                                            
backup piece handle=/msflsh/MMSDB/backupset/2005_11_27/                         
o1_mf_annnn_TAG20051127T043004_1rkkhvtb_.bkp recid=674 stamp=575440251          
deleted backup piece                                                            
backup piece handle=/msflsh/MMSDB/backupset/2005_11_28/                         
o1_mf_annnn_TAG20051128T043004_1rn5tfoo_.bkp recid=676 stamp=575526605          
deleted backup piece                                                            
backup piece handle=/msflsh/MMSDB/autobackup/2005_12_03/                        
o1_mf_s_576045489_1s1d5kgd_.bkp recid=718 stamp=576045489                       
Deleted 5 objects                                                               
RMAN> exit                                                                      
Recovery Manager complete.                                                      

--------------------next---------------------

阅读(123) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~