ORA-03113 : end-of-file on communication channel

現象一:sql

數據庫startup時,出現數據庫沒法正常mount,並報ORA-03113錯誤。數據庫

SQL> startuporacle

ORACLE instance started.日誌

Total System Global Area  830930944 bytes進程

Fixed Size                    2217912 bytesrem

Variable Size                  599787592 bytesget

Database Buffers          222298112 bytesflash

Redo Buffers                    6627328 bytesit

Database mounted.io

 

ORA-03113: end-of-file on communication channel

Process ID: 6846

Session ID: 125 Serial number: 5

 

分析:

根據進程號(Process ID)查找到LOG文件的:oral-ora-6846.trc,查看到報錯信息

ORA-19815: WARNING: db_recovery_file_dest_size of 4039114752 bytes is 100.00% used, and has 0 remaining bytes available.

 

結論:

db_recovery_file_dest_size被所有耗盡,致使數據庫宕機及沒法啓動。

 

 

 

解決方案: 

 

 

一:數據庫已關閉時:

     1.修改回閃空間大小

Sql>startup  nomount                                ‘將數據庫啓到NOMOUNT狀態

Sql> alter system set db_recovery_file_dest_size=30G;   ‘將空間改成30G

sql>alter database mount;

SQL>alter database open;

 

  2.修改回閃空間時間

Sql>startup  nomount                                ‘將數據庫啓到NOMOUNT狀態

Sql> alter system set db_flashback_retention_target=20160;‘將回閃時間改成14天

 

數據庫startup時,出現數據庫沒法正常mount,並報ORA-03113錯誤。

數據庫startup 時,報錯:ORA-03113: end-of-file on communication channel

 

  三、參考ORA-00313: open failed for members of log group 3 解決

咱們查看oracle 警告日誌alert.log ,錯誤提示:ORA-00313,日誌組 group3 找不到。

解決方案參考:ORA-00313: open failed for members of log group 3

 

2、若是數據庫在啓動狀態的時候:

一、清理過時文件

1.1進入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)

 

1.2查看全部LOG文件

RMAN> crosscheck archivelog all;

 

1.3刪除全部LOG文件

RMAN> delete archivelog all;

 

 

PS:

其間遇到crosscheck命令無效,主要是進入rman時,返回「connected to target database: (no database start)」。查其緣由是,oracle_sid不匹配。使用echo $ORACLE_SID命令查看,使用export命令修改。

 

 

二、擴大db_recovery_file_dest_size空間

2.1查看回閃空間位置、大小及回閃時間

Sql>show parameter db_recovery               '查看回閃位置及回閃區大小

Sql>show parameter flashback                    '查看回閃位置

Sql>select file_type,PERCENT_SPACE_USED,NUMBER_OF_FILES from v$flash_recovery_area_usage;                                                                     ‘查看回閃空間文件類型及佔用狀況

 

2.2修改回閃空間大小

Sql>startup  nomount                                ‘將數據庫啓到NOMOUNT狀態

Sql> alter system set db_recovery_file_dest_size=8000M;   ‘將空間改成8G

 

 

2.2修改回閃空間時間

Sql>startup  nomount                                ‘將數據庫啓到NOMOUNT狀態

Sql> alter system set db_flashback_retention_target=20160;‘將回閃時間改成14天

 

 

http://oracle.so138.com/ora/oracle-cuo-wu-dai-ma-ku-oracle-jia-yuan

相關文章
相關標籤/搜索