首页 > 其他 > 详细

Refresh recovery area usage data after manually deleting files under recovery area

时间:2014-11-19 07:27:41      阅读:235      评论:0      收藏:0      [点我收藏+]

Original source: http://www.dba-oracle.com/t_v$_flash_recovery_area.htm

If you manually delete files under recovery area after you get an ORA-19815 in your alert log, run the following to refresh v$recovery_file_dest and v$flash_recovery_area_usage.

[oracle@rac1 ~]$ rman target /

Recovery Manager: Release 11.2.0.4.0 - Production on Fri Jun 6 13:24:23 2014

Copyright ? 1982, 2011, Oracle and/or its affiliates. All rights reserved.

connected to target database: ORCL (DBID=1377135549)

RMAN> 
RUN {
change archivelog all crosscheck;
report obsolete orphan;
report obsolete;
crosscheck backup;
crosscheck copy;
crosscheck backup of controlfile;

delete noprompt expired backup;
delete noprompt expired archivelog all;
delete noprompt expired backup of controlfile;
delete force noprompt expired copy;
delete force noprompt obsolete orphan;
delete force noprompt obsolete; 
}

 

You should avoid deleting files in recovery area with OS commands. They should be managed by RMAN.

Refresh recovery area usage data after manually deleting files under recovery area

原文:http://www.cnblogs.com/amonw/p/4107317.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!