数据库启动的时候出错
ORACLE instance started. Total System Global Area 5.3447E+10 bytes Fixed Size 2265864 bytes Variable Size 6576671992 bytes Database Buffers 4.6842E+10 bytes Redo Buffers 26480640 bytes Database mounted. ORA-03113: end-of-file on communication channel Process ID: 257589 Session ID: 2761 Serial number: 3
数据库无法启动,用ps也找不到数据库的进程。
查询alert log。原来是db recovery空间满了。
Errors in file /u01/app/oracle/diag/rdbms/orcl/orcl/trace/orcl_arc0_242124.trc: ORA-19815: WARNING: db_recovery_file_dest_size of 4385144832 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. **************************************
启动数据到mount状态
alter system set db_recovery_file_dest_size=2048G scope=spfile;
增加db recovery空间,再重新启动,问题解决。