Skip to Content
avatar image
Former Member

ORA-01578; ORACLE data block corrupted


In system log we found database error, how to repair the corrupted data block in ORACLE.

Database error 1578 at FET

ORA-01578; ORACLE data block corrupted (file # 1, block # 56449) #ORA-01110; data file 1;




Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

6 Answers

  • Dec 13, 2013 at 11:06 AM


    Bad thing, I hope you did run the consistency check (see here under note) and that the corruption is not in the DB since long enough that you do not have a clean backup.

    At least SAP data should not be directly involved as the corruption is within system tablespace... but there are critical tables in the system tablespace...

    Ok, may be it is not a big problem, at first you need to find what is inside that block using that command:

    select OWNER, SEGMENT_NAME, SEGMENT_TYPE from DBA_EXTENTS where file_id = 1 and 56449 between block_id and (block_id + blocks - 1);

    usnused block (query returns "no row selected")

    => not harmful, Oracle will reformat the block when it will need... but it is not likely to be the problem you have

    used by index

    => quite easy, just rebuild the index

    used by a table

    => then it can be tougher,

    Test a select * from <owner>.<table name> to see if you get an error, if not the block is unused

    - unused block bellow HWM

    => table reorg or shrink

    - used by a table with data it it

    => here you have a real problem...

    solution could be to restore table from a previous clean backup, try to recover the data that can still be accessed

    You must also:

    - perform a full DB check (DBV + analyze), there might be other corrupted blocks in your DB

    - have a full system check => system log, hardware, SAN...

    540463 - FAQ: Consistency Checks + Block Corruptions

    23345 - Consistency check of ORACLE database

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Ram,

      The problem is, that a SYS object got corrupted. These are not se easy to repair.

      One thing must not be forgotten here, you should have a consistent backup which does not contains

      the corrupted data.

      As 'Yves' wrote, you should check the whole database to see if there are other corruptions present.

      This, of course, takes a long time. But this is the only way to check the database.

      Anyway, these checks should run weekly or at least once per backup cycle.

      Solution, as it is documented in note 365481:


      3. Does the database object belong to the SYS database user or is it located in the SYSAUX tablespace?

           General rule: The object only belongs to the SYS user if it is in the system tablespace.

                    If yes:
      Save the corrupt data file and reimport a backup of
      the file from a backup that does not contain the corruption. If all of the
      archive logs since the creation of the file are available, you can also perform
      a CREATE DATAFILE as described in SAP Note 4161. Recover the file up to the
      current time. If you do not have either a corruption-free backup or all of the
      archive logs since the file creation, your consistency check concept or backup
      concept is insufficient.

      If you do not have any 'good' backup available, you could try to rebuild the SYSTEM tablespace as documented in note:

      748434 New BRSPACE function "dbcreate" - recreate database

      In case of a corruption, there isn't any quick and easy solution, at least in most of the cases. And unfortunately, yours is a really bad situation.



  • Dec 13, 2013 at 01:26 PM
    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 13, 2014 at 04:36 AM


    Open an incident with SAP on immediate basis to avoid further issues!


    Nick Loy

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      ORA-01578 error appears when the ORACLE data block gets corrupt (file # string, block # string). It generally happens the data block indicated becomes corrupt due to software errors. And to fix it you have to restore the segment that contains the block indicated. For this it may involve the dropping of the segment as well as recreating it. And if any trace of the file is identified than it would report the error in the ORACLE representative. Or else to fix this problem, you can use Oracle Repair Tool. Using this application, you can fix errors related to Oracle in an easy way.

  • avatar image
    Former Member
    May 11, 2014 at 05:26 AM

    Database corruption occur when there is any virus attack, human errors, abrupt shutdown of system, etc. These reason can easily corrupt the entire database and data stored in Database becomes inaccessible. To fix your problem follow - How to Detect and Fix Corrupted Table Oracle?

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 17, 2016 at 07:04 AM

    How to fix Fix Corrupt Blocks: Block corruption In Oracle Database

    Oracle corruption is most frequently caused by a bad disk, although there are rare cases of "logical" corruption within the Oracle data blocks.  You can use these steps to find the corrupt data blocks in Oracle.  Oracle also provides a v$database_block_corruption view that you can check:

    select * from v$database_block_corruption

    If you know the file number and block number you can run the following query to see the exact data block that has corruption:

    file_id = 6
    437 between block_id and block_id + blocks - 1;

    Once you know the exact block ID you can view the corrupt block contents with the block editor BBED utility, working with Oracle technical support to repair the corruption.

    For more visit:

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 17, 2016 at 03:57 PM

    Hi Ram,

    Best and speedy option to get into Consistent DB.

    1) Restore and recovery of DB from the consistent backup to point in time by applying redo log backups.

    2) Please let us know if the DB backup has failed with error like DB inconsistent or etc if yes let us know from when the DB backup is failing.



    Add comment
    10|10000 characters needed characters exceeded