oracle+00257报错,oracle出现ora-00257报错

本文介绍了Oracle数据库出现ORA-00257错误的原因和解决方案。当archivelog空间使用率达到99.7%时,数据库无法继续执行事务。通过查询v$flash_recovery_area_usage可以发现空间不足的问题。解决方法包括检查archive_log_dest参数设置,计算archivelog占用的空间,并通过RMAN删除不再需要的archivelogs,从而恢复正常运行。
摘要由CSDN通过智能技术生成

5268f80b9b1e01f982625ef6fac83ca1.png

ORA-00257: archiver error. Connect internal only, until freed.Cause: The archiver process received an error while trying to archive a redo log. If the problem is not resolved soon, the database will stop executing transactions. The most likely cause of this message is the destination device is out of space to store the redo log file.Action: Check the archiver trace file for a detailed description of the problem. Also, verify that the device specified in the initialization parameter archive_log_dest is set up properly for archiving.

大致是说oracle保存redo file的时候失败了,让登陆数据库查看是不是archive_log_dest是否有问题

先进入数据库查看下是不是

SQL> select * from v$flash_recovery_area_usage;

可以看到PERCENT_SPACE_USED的一个值是99.7而他对应的FILE_TYPE是ARCHIVELOG.所以大致可以知道是ARCHIVELOG已经满了!

select sum(percent_space_used)*3/100 from v$flash_recovery_area_usage 可以查看archivelog占了多大的空间,而show parameter recover可以知道系统分配了多少archivelog空间。

然后退出数据库,进入rman,准备删除archivelog

ramn target /

执行删除操作

RMAN> delete archivelog all

删除完成以后,在此访问连接显示正常

本文出自 “斗月” 博客,请务必保留此出处http://douyue.blog.51cto.com/10174393/1652843

oracle出现ora-00257报错

标签:oracle   ora-00257   oracle连接报错   oracle出错解决方法

1428d0e076c3959ab11d28a39bc84fab.png

5268f80b9b1e01f982625ef6fac83ca1.png

本条技术文章来源于互联网,如果无意侵犯您的权益请点击此处反馈版权投诉

本文系统来源:http://douyue.blog.51cto.com/10174393/1652843

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值