温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

redo 无法归档故障处理

发布时间:2020-08-02 09:47:24 来源:网络 阅读:325 作者:刘枫_Leo 栏目:关系型数据库

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;
向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI