zoukankan      html  css  js  c++  java
  • 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

  • 相关阅读:
    学习:组件生命周期(2)
    学习:组件生命周期(3)
    学习:深入分析布局文件(HelloWorld)
    wap webapp app区别
    TCP的数据传输
    SET ANSI_NULLS ON SET QUOTED_IDENTIFIER ON 详解
    未能加载文件或程序集“SqlServerDal”或它的某一个依赖项。系统找不到指定的文件。
    人生的十个不要等
    asp.net网站三层架构详解和反射知识
    工厂模式概况
  • 原文地址:https://www.cnblogs.com/claireyuancy/p/6865752.html
Copyright © 2011-2022 走看看