zoukankan      html  css  js  c++  java
  • ORA03113: endoffile on communication channel

     

     

    SQL> startup;
    ORACLE instance started.

    Total System Global Area 2.8327E+10 bytes
    Fixed Size 2214176 bytes
    Variable Size 1.6375E+10 bytes
    Database Buffers 1.1811E+10 bytes
    Redo Buffers 139182080 bytes
    Database mounted.
    ORA-03113: end-of-file on communication channel
    Process ID: 18352
    Session ID: 35 Serial number: 5

    ********************************************************************************
    cat /opt/app/oracle/diag/rdbms/racdb/racdb1/trace/alert_racdb1.log


    error:


    Errors in file /opt/app/oracle/diag/rdbms/racdb/racdb1/trace/racdb1_ora_23390.trc:
    ORA-19815: WARNING: db_recovery_file_dest_size of 9413066752 bytes is 100.00% used, and has 0 remaining bytes available.
    ************************************************************************
    You have following choices to free up space from recovery area:
    1. Consider changing RMAN RETENTION POLICY. If you are using Data Guard,
    then consider changing RMAN ARCHIVELOG DELETION POLICY.
    2. Back up files to tertiary device such as tape using RMAN
    BACKUP RECOVERY AREA command.
    3. Add disk space and increase db_recovery_file_dest_size parameter to
    reflect the new space.
    4. Delete unnecessary files using RMAN DELETE command. If an operating
    system command was used to delete files, then use RMAN CROSSCHECK and
    DELETE EXPIRED commands.
    ************************************************************************
    Errors in file /opt/app/oracle/diag/rdbms/racdb/racdb1/trace/racdb1_ora_23390.trc:
    ORA-19809: limit exceeded for recovery files
    ORA-19804: cannot reclaim 27262976 bytes disk space from 9413066752 limit
    ARCH: Error 19809 Creating archive log file to '+RECOVERY'
    Errors in file /opt/app/oracle/diag/rdbms/racdb/racdb1/trace/racdb1_ora_23390.trc:
    ORA-16038: log 1 sequence# 213 cannot be archived
    ORA-19809: limit exceeded for recovery files
    ORA-00312: online log 1 thread 1: '+DATA/racdb/onlinelog/group_1.257.779192545'
    ORA-00312: online log 1 thread 1: '+RECOVERY/racdb/onlinelog/group_1.257.779192545'
    USER (ospid: 23390): terminating the instance due to error 16038
    Fri Mar 30 09:32:18 2012
    System state dump is made for local instance
    System State dumped to trace file /opt/app/oracle/diag/rdbms/racdb/racdb1/trace/racdb1_diag_23157.trc



    处理过程:

    1:由spfile生成pfile,增大pfile中的db_recovery_file_dest_size参数的值


    SQL> starup;
    SP2-0042: unknown command "starup" - rest of line ignored.
    SQL> startup;
    ORA-01081: cannot start already-running ORACLE - shut it down first
    SQL> create pfile='/opt/app/oracle/admin/racdb/pfile/pfilerac1.ora' from spfile;

    File created.

    SQL>





    2:由修改过的pfile生成spfile,启动数据库

    SQL> startup pfile='/opt/app/oracle/admin/racdb/pfile/pfilerac1.ora';

    SQL> create spfile='/opt/app/oracle/product/11.2.0/dbs/spfileracdb1.ora' from pfile;

     

    RAC2 节点同样要建立一个SPFILE:

    在RAC2节点执行:

    SQL> startup pfile='/opt/app/oracle/admin/racdb/pfile/pfilerac1.ora';

    SQL> create spfile='/opt/app/oracle/product/11.2.0/dbs/spfileracdb1.ora' from pfile;


    --修改PFILE 中的db_recovery_file_dest_size
    vi /opt/app/oracle/admin/racdb/pfile/pfilerac1.ora
    *.db_recovery_file_dest_size=100g



    3:使用rman,清理过期的数据

    [oracle@localhost ~]$ rman target/

    Recovery Manager: Release 11.2.0.1.0 - Production on Sat Sep 25 14:18:53 2010

    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.

    connected to target database: ONLINE (DBID=2094135012)

    RMAN> crosscheck archivelog all;

    RMAN> delete expired archivelog all;


    4:查看recovery_file_dest动态性能视图

    SQL>select * from v$recovery_file_dest;

  • 相关阅读:
    Eclipse 代码自动补全设置
    Ubuntu下MySQL的安装及远程连接配置等配置
    Ubuntu 8.04 下安装mcrypt扩展
    Android sdk manager 显示 “Done loading packages”,停下来不动了!
    「Clover 10」杯HE两校联赛(第二轮Day1)
    自招搞到了NUAA降分到一本线的优惠
    NOIP 2009 解题报告
    SD多校模拟赛Day1&Day2
    「Nescafé 29」杯HE两校联赛(第二轮Day2)
    临近比赛要淡定从容
  • 原文地址:https://www.cnblogs.com/weixun/p/3123086.html
Copyright © 2011-2022 走看看