ホームページ >データベース >mysql チュートリアル >ORA-00257-归档日志所在磁盘空间使用100%出错解决
正在进行DML操作时,操作一直无法完成。退出SQLPLUS时一直无响应--卡着不动无法正常退出。登陆数据库所在主机,使用SQLPLUS登陆D
现象:
正在进行DML操作时,操作一直无法完成。退出SQLPLUS时一直无响应--卡着不动无法正常退出。
登陆数据库所在主机,使用SQLPLUS登陆DBA用户时,提示归档出错。
[Oracle@oel-01 ~]$ sqlplus bys/bys
SQL*Plus: Release 11.2.0.1.0 Production on Sun Jul 21 17:55:09 2013
Copyright (c) 1982, 2009, Oracle. All rights reserved.
ERROR:
ORA-00257: archiver error. Connect internal only, until freed.
[oracle@oel-01 ~]$ tail alert_bys001.log
ORA-19502: write error on file "", block number (block size=)
ORA-00312: online log 3 thread 1: '/u01/app/oracle/oradata/bys001/redo03.log'
Sun Jul 21 18:01:18 2013
ARCH: Archival stopped, error occurred. Will continue retrying
ORACLE Instance bys001 - Archival Error
ORA-16014: log 3 sequence# 219 not archived, no available destinations
ORA-00312: online log 3 thread 1: '/u01/app/oracle/oradata/bys001/redo03.log'
Errors in file /u01/app/oracle/diag/rdbms/bys001/bys001/trace/bys001_arc1_6050.trc:
ORA-16014: log 3 sequence# 219 not archived, no available destinations
ORA-00312: online log 3 thread 1: '/u01/app/oracle/oradata/bys001/redo03.log'
[oracle@oel-01 ~]$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 19G 18G 3.8M 100% /
/dev/sda1 99M 21M 74M 22% /boot
tmpfs 3.0G 529M 2.5G 18% /dev/shm
/dev/sda5 4.6G 2.6G 1.9G 58% /backup
[oracle@oel-01 ~]$ rman target /
RMAN> crosscheck archivelog all;
RMAN> delete expired archivelog all;
删除今天之前的归档日志
RMAN> delete archivelog until time 'sysdate-1' ;
也可以用
RMAN> delete archivelog all; 删除所有归档
[oracle@oel-01 ~]$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 19G 18G 588M 97% /
/dev/sda1 99M 21M 74M 22% /boot
tmpfs 3.0G 529M 2.5G 18% /dev/shm
/dev/sda5 4.6G 1.8G 2.6G 42% /backu
更多详情见请继续阅读下一页的精彩内容:
相关阅读:
SPFILE 错误导致数据库无法启动(ORA-01565)
ORA-01172、ORA-01151错误处理
ORA-00600 [2662]错误解决
ORA-01078 和 LRM-00109 报错解决方法
ORA-00471 处理方法笔记
ORA-00314,redolog 损坏,或丢失处理方法
ORA-00257 归档日志过大导致无法存储的解决办法