zoukankan      html  css  js  c++  java
  • ORA-00349: failure obtaining block size for '+fra_grp01_d

    有一次恢复库以后,open时报错ORA-00349,例如以下。最后通过删除这个log group解决。
     
    SQL> alter database open resetlogs;
    alter database open resetlogs
    *
    ERROR at line 1:
    ORA-00349: failure obtaining block size for '+fra_grp01_d
    select group#,name,bytes,status from v$logfile;
    SQL> /
             1 /paic/hq/bk/restore/data/oradata/aims/group_1.257.788444161
             1 /paic/hq/bk/restore/data/oradata/aims/group_1.257.788444163
             2 /paic/hq/bk/restore/data/oradata/aims/group_2.258.788444163
             2 +fra_grp01_dg INVALID
             3 /paic/hq/bk/restore/data/oradata/aims/group_3.259.788444163
             3 /paic/hq/bk/restore/data/oradata/aims/group_3.259.788444165
             4 /paic/hq/bk/restore/data/oradata/aims/group_4.266.788744427
             4 /paic/hq/bk/restore/data/oradata/aims/group_4.448.788744427
             5 /paic/hq/bk/restore/data/oradata/aims/group_5.267.788744443
             5 /paic/hq/bk/restore/data/oradata/aims/group_5.449.788744443
             6 /paic/hq/bk/restore/data/oradata/aims/group_6.268.788744443
             6 /paic/hq/bk/restore/data/oradata/aims/group_6.450.788744443
             7 /paic/hq/bk/restore/data/oradata/aims/group_7.271.789784501
             7 /paic/hq/bk/restore/data/oradata/aims/group_7.1047.789784501
    50 rows selected.
    SQL>
    SQL> alter database drop logfile group 2;
    Database altered.
    SQL> alter database open resetlogs;
    Database altered.
  • 相关阅读:
    一起采坑redis(1)--- Redis Save 与 BGSAVE 的区别
    logstash系列一使用logstash迁移ES数据
    MHA+Atlas+mysql一主一从开启gtid安装配置与实验
    innodb log file size 配置估算以及修改
    linux 硬盘速度测试
    YCSB-压测
    mysql 5.7配置文件参数详解
    mysql 批量插入数据存储过程
    int unsigned实验
    mongodump 备份
  • 原文地址:https://www.cnblogs.com/liguangsunls/p/7283194.html
Copyright © 2011-2022 走看看