ORA_00257错误处理方法

使用SQL developer连接数据库的时候报ORA_00257,查资料发现是归档日志太多引起的(在此之前进行了很多数据的导入),需要清理归档日志。

第一步:登录到服务器,切换到oracle

[root@localhost ~]# su - oracle

第二步:连接oracle

[oracle@localhost ~]$ sqlplus /nolog
SQL*Plus: Release 11.2.0.3.0 Production on 星期三 1月 13 10:35:48 2016
Copyright (c) 1982, 2011, Oracle.  All rights reserved.

SQL>  connect /as sysdba

第三步:检查fast_recovery_area的使用情况


SQL> exit
从 Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options 断开
[oracle@localhost ~]$ which rman
/u01/app/oracle/product/11g/db_1/bin/rman
[oracle@localhost ~]$ rman


恢复管理器: Release 11.2.0.3.0 - Production on 星期三 1月 13 10:40:43 2016


Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.



RMAN> connect target /


已连接到目标数据库: ORCL (DBID=128474545756)

RMAN> delete archivelog until time 'sysdate';

..................

是否确定要删除以上对象 (输入 YES 或 NO)? yes

RMAN> exit



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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值