redo 无法归档故障处理
短信预约 -IT技能 免费直播动态提醒
Errors in file c:\app\administrator\diag\rdbms\orcl\orcl\trace\orcl_arc0_13756.trc:
ORA-00354: corrupt redo log block header
ORA-00353: log corruption near block 16320 change 17258861688 time 07/10/2019 00:11:07
ORA-00312: online log 7 thread 1: 'E:\ORACLE\ORADATA\ORCL\REDO07.LOG'
参考mos id :332672.1
1、添加redo组及成员
alter database add logfile group 8 'E:\ORACLE\ORADATA\ORCL\REDO08.log' size 200M;
alter database add logfile member 'E:\ORACLE\ORADATA\ORCL\REDO081.log' to group 8;
2、查看无法归档redo状态
select GROUP# ,BYTES/1024/1024 size_M,STATUS,ARCHIVED from v$log;
GROUP# SIZE_M STATUS ARC
4 200 INACTIVE YES
5 200 INACTIVE YES
6 200 CURRENT YES
7 200 INACTIVE NO
8 200 UNUSED NO
SQL> select member from v$logfile;
MEMBER
--------------------------------------------------------------------------------
E:\ORACLE\ORADATA\ORCL\REDO10.LOG
E:\ORACLE\ORADATA\REDO\REDO001.LOG
E:\ORACLE\ORADATA\REDO\REDO03.LOG
E:\ORACLE\ORADATA\REDO\REDO003.LOG
3、清理redo
alter database clear unarchived logfile group 7;
4、redo 删除
alter database drop logfile group 7;
免责声明:
① 本站未注明“稿件来源”的信息均来自网络整理。其文字、图片和音视频稿件的所属权归原作者所有。本站收集整理出于非商业性的教育和科研之目的,并不意味着本站赞同其观点或证实其内容的真实性。仅作为临时的测试数据,供内部测试之用。本站并未授权任何人以任何方式主动获取本站任何信息。
② 本站未注明“稿件来源”的临时测试数据将在测试完成后最终做删除处理。有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341