ERROR: ORA-00257: archiver error. Connect internal only, until freed.

show  parameter  recovery

SQL> show  parameter  recovery ;

发现 db_recovery_file_dest_size 值太小了, 当归档超过这个值之后就会报错 

ERROR: ORA-00257: archiver error. Connect internal only, until freed.

show archive list 

原因: 

The database is running in archive log mode with automatic archiving turned on. When the archive log destination diskspace becomes full the automatic archiving will stop.  This is expected to happen.  At this point a message should appear  on the screen:  ORACLE Instance v816 - Can not allocate log, archival required  When all of the online redo logs are filled up, the database will be in a hang  state.  After freeing up diskspace the online redo logs are still not archiving.  In  most cases this is the CORRECT behaviour.

解决方法如下

方法一 : 

1. 直接删除 物理数据 rm 

2. 通过 rman 删除: 

rman  target 

执行如下命令: 
(1) crosscheck backup; 
(2) delete obsolete; 
(3) delete expired backup; 
(4) crosscheck archivelog all; 
(5) delete expired archivelog all; 
(6) host; 

方法二 : 就是增大闪回日志文件的最大大小。如下 
alter system set DB_RECOVERY_FILE_DEST_SIZE=10g

 alter system set DB_RECOVERY_FILE_DEST_SIZE=50g scope=both;

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值