ORA-00257:archiver error.Connect internal only,until freed.
1、報(bào)錯(cuò)原因
歸檔滿了
2、解決方法
1.查看歸檔路徑
archive log list;
Arcive destination USE_DB_RECOVERY_FILE_DEST
此參數(shù)代表歸檔存放路徑,本地存放為/opt/oracle…,asm為+archdg
當(dāng)為以上參數(shù)時(shí),代表存放到數(shù)據(jù)閃回區(qū)
2.查看閃回區(qū)設(shè)置
show parameter recover;
db_recovery_file_dest #表示存放路徑
db_recovery_file_dest_size #表示可以使用的空間大小
3.設(shè)置閃回區(qū)大小
alter system set db_recovery_file_dest_size=100G scope=both;
4.查看歸檔空間使用情況
select * from v$flash_recovery_area_usage;
查看閃回區(qū)是否開(kāi)啟
select flashback_on from v$database;
開(kāi)啟閃回
SQL>shutdown immediate;
SQL>startup mount;文章來(lái)源:http://www.zghlxwxcb.cn/news/detail-795725.html
SQL>alter database archivelog;
SQL> alter database flashback on;
關(guān)閉閃回
SQL>shutdown immediate;
SQL>startup mount;
SQL> alter database flashback off;文章來(lái)源地址http://www.zghlxwxcb.cn/news/detail-795725.html
5.刪除歸檔日志
su - oracle
set ORACLE_ID=orcl
rman target /
#查看已經(jīng)存在的歸檔
list archivelog all;
crosscheck archivelog all;
#刪除
delete archivelog all completed before 'sysdate-1'; #刪除一天以前的
delete archivelog all completed before 'trunc(sysdate-1)+2/24';
#檢查是否刪除
list archivelog all;
#本地文件刪除歸檔
cd /opt/oracle/archlog
find ./ -mtime +7 -name "*.dbf" -exec rm -f {} \;
6.查看預(yù)警日志是否還有報(bào)錯(cuò)
cd $ORACLE_BASE/diag/rdbms/orcl/trace/
tail -100f al*.log
到了這里,關(guān)于ORA-00257:archiver error.Connect internal only,until freed.的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!