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

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.

[[email protected] ~]$ 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.

时间: 2024-11-05 13:28:16

Refresh recovery area usage data after manually deleting files under recovery area的相关文章

MVC Area Usage

ASP.NET MVC Area操作 新建 Area:右键 -> Add –> Area 继承 AreaRegistration,重写AreaName属性与RegisterArea方法 public class BookStudyAreaRegistration : AreaRegistration { public override string AreaName { get { return "BookStudy"; } } public override void R

去掉Eclipse打开后定期弹出Usage Data Upload对话框

1.删除 eclipse/plugins 目录下以 org.eclipse.epp.usagedata 开头的所有 jar 文件 2.删除 eclipse/features 目录下以 org.eclipse.epp.usagedata 开头的所有文件夹

省市三级联动

mumuy-widget-91839b8 http://jquerywidget.com/ /** * jquery.citys.js 1.0 * http://jquerywidget.com */ ;(function (factory) { if (typeof define === "function" && (define.amd || define.cmd) && !jQuery) { // AMD或CMD define([ "jq

ARM中C和汇编的相互调用(5个数求和、字符串拷贝)

开发环境:Keil5 工程目录:   一.汇编调用C——多数相加 使用汇编调用C,需要注意的是参数的传递.不同于X86的传参规则,在ARM体系中,如果形参的个数不超过4个,使用特殊寄存去R0~R3传递:而如果参数大于4个,就要将多出来的那部分参数使用堆栈传递. 压栈的之后移动位置指针,压栈顺序别忘了是最后一个参数先入栈->倒数第二个参数->,,,, 下面的代码实现了五个参数求和,首先使R0=0,R1=1,R2=2,R3=3,第五个参数使用栈传递,并移动堆栈指针. (1)startup.s St

10 Best Data Recovery Software Of 2018 For Free

Recuva:**** Recuva (pronounced "recover") is a freeware Windows utility to restore files that have been accidentally deleted from your computer. Using Recuva, you can restore files that have been accidentally deleted from the computer, a USB dri

Flash Recovery Area

1. 设置闪回恢复区 闪回恢复区主要通过3个初始化参数来设置和管理 db_recovery_file_dest:指定闪回恢复区的位置db_recovery_file_dest_size:指定闪回恢复区的可用空间大小 db_flashback_retention_target:指定数据库可以回退的时间,单位为分钟,默认1440分钟,也就是一天.当然,实际上可回退的时间还决定于闪回恢复区的大小,因为里面保存了回退所需要的flash log.所以这个参数要和db_recovery_file_dest_

oracle之Flash Recovery Area全面介绍 (转载)

1. 设置闪回恢复区闪回恢复区主要通过3个初始化参数来设置和管理 db_recovery_file_dest:指定闪回恢复区的位置db_recovery_file_dest_size:指定闪回恢复区的可用空间大小 db_flashback_retention_target:指定数据库可以回退的时间,单位为分钟,默认1440分钟,也就是一天.当然,实际上可回退的时间还决定于闪回恢复区的大小,因为里面保存了回退所需要的flash log.所以这个参数要和db_recovery_file_dest_s

Flash Recovery Area空间不足导致DB不能打开或hang住处理方法

当归档目录设置在闪回恢复区,并且闪回恢复区又满了的情况下, DB 就会无法归档而hang住或者无法打开. 这种情况下打开数据库会遇到如下错误信息: SQL> select status from v$instance; STATUS ------------ MOUNTED SQL> alter database open; alter database open * 第 1 行出现错误: ORA-16014: 日志 2 的序列号 27 未归档, 没有可用的目的地 ORA-00312: 联机日

Backup and Recovery Basics(10g)- 目录

今天先把目录搬上来,后续会翻译相应的章节,并更新超链接,希望对想学习oracle的人有所帮助.fighting Contents Title and Copyright Information Preface Audience Documentation Accessibility Related Documentation Conventions 1 Backup and Recovery Overview 1.1 What is Backup and Recovery? 1.1.1 Phys