歸檔放在flash_recovery目錄,由於歸檔占滿了閃回目錄,數據庫啟動報錯ORA-03113: end-of-file on communication channel
tail -1200f /u01/app/oracle/product/11.2.0/dbhome_1/startup.log
Total System Global Area 6747725824 bytes
Fixed Size 2213976 bytes
Variable Size 4630513576 bytes
Database Buffers 2080374784 bytes
Redo Buffers 34623488 bytes
Database mounted.
ORA-03113: end-of-file on communication channel
Process ID: 19733
Session ID: 1705 Serial number: 5
而且lsnrctl status -------no services
解決辦法(加大閃回區大小):
sql>shutdowm immediate;
sql>startup mount;
sql>alter system set db_recovery_file_dest_size = 300G scope=both sid='*'; 查看大小:show parameter db_recovery_file_dest_size
sql>shutdowm immediate;
sql>startup;
或者在startup mount;時:
delete noprompt archivelog until time 'sysdate-2'; 刪除歸檔,保留2天歸檔。
如果有部署OGG,最好備份歸檔后再刪除。
如果直接刪除了物理歸檔文件,控制文件是不知道被你刪除了,此時:
用rman登錄rman target /
crosscheck archivelog all; 檢查所有歸檔文件
delete expired archivelog all; 刪除過期無效的歸檔記錄
---end---