zoukankan      html  css  js  c++  java
  • ORA-01578: ORACLE data block corrupted (file # 3, block # 1675)

    警告日志中发现如下报错信息:

    ORA-01578: ORACLE data block corrupted (file # 3, block # 1675)
    ORA-01110: data file 3: '/u01/app/oracle/oradata/PROD1/undotbs01.dbf'

    报错提示为:undo表空间第1675个数据块出现损坏。

    解决方法:

    1、创建新的undo表空间undotbs2

    SQL> create undo tablespace UNDOTBS2 datafile '/u01/app/oracle/oradata/PROD1/undotbs02.dbf' size 295M;

    Tablespace created.

    2、修改数据库undo表空间为undotbs2

    SQL> alter system set undo_tablespace = undotbs2 scope=spfile;

    System altered.

    3、重启数据库

    SQL> startup force
    ORACLE instance started.

    Total System Global Area 849530880 bytes
    Fixed Size 1348244 bytes
    Variable Size 524291436 bytes
    Database Buffers 318767104 bytes
    Redo Buffers 5124096 bytes
    Database mounted.
    Database opened.

    SQL> show parameter undo

    NAME TYPE VALUE
    ------------------------------------ ----------- ------------------------------
    undo_management string AUTO
    undo_retention integer 5400
    undo_tablespace string UNDOTBS2

    4、删掉undotbs1表空间及数据文件

    SQL> Drop tablespace UNDOTBS1 including contents and datafiles;

    Tablespace dropped.

    5、重新创建undotbs1表空间

    SQL> create undo tablespace UNDOTBS1 datafile '/u01/app/oracle/oradata/PROD1/undotbs01.dbf' size 295M;

    Tablespace created.

    6、修改数据库undo表空间为undotbs1

    SQL> alter system set undo_tablespace=undotbs1 scope=spfile;

    System altered.

    7、重启数据库

    SQL> startup force
    ORACLE instance started.

    Total System Global Area 849530880 bytes
    Fixed Size 1348244 bytes
    Variable Size 524291436 bytes
    Database Buffers 318767104 bytes
    Redo Buffers 5124096 bytes
    Database mounted.
    Database opened.

    SQL> show parameter undo

    NAME TYPE VALUE
    ------------------------------------ ----------- ------------------------------
    undo_management string AUTO
    undo_retention integer 5400
    undo_tablespace string UNDOTBS1

    8、删掉undotbs2表空间

    SQL> Drop tablespace UNDOTBS2 including contents and datafiles;

    Tablespace dropped.

    问题解决。

    2019-2-26 5:35

  • 相关阅读:
    理解js中的原型链,prototype与__proto__的关系
    Zepto源码(2016)——Zepto模块(核心模块)
    MySQL增删改查
    ACM典型试题--古代密码(二)
    ACM典型试题--简单的加密算法(一)
    MySQL图文安装配置
    (c语言)二叉树中序线索(数据结构十七)
    (C语言)二叉树层次遍历(数据结构十六)
    Java连接db2数据库(常用数据库连接五)
    java连接oracle数据库(常用数据库连接四)
  • 原文地址:https://www.cnblogs.com/orcl-2018/p/10438865.html
Copyright © 2011-2022 走看看