ORA-1578 ORA-26040 On Awr Table (Doc ID 430230.1)

Embed Size (px)

Citation preview

  • 7/26/2019 ORA-1578 ORA-26040 On Awr Table (Doc ID 430230.1)

    1/1

    ORA-1578 ORA-26040 On Awr Table (Doc ID 430230.1)

    In this Document

    Symptoms

    Cause

    Solution

    References

    APPLIES TO:

    Oracle Database - Enterprise Edition - Version 10.2.0.1 to 10.2.0.5 [Release 10.2]Information in this document applies to any platform.This is applicable for 10gR2

    ***Checked for relevance on 05-AUG-2014***

    SYMPTOMS

    In the trace file is reported: encountered error: (ORA-01578: ORACLE data block corrupted (file# xx, block# xxxx) ORA-01110: data file x: '.....' ORA-26040: Data block was loaded using the NOLOGGING option

    Db Verify reports: DBV-00200: Block, dba xxxxxx, already marked corrupted

    CAUSE

    If a NOLOGGING (or UNRECOVERABLE) operation is performed on an object and the datafile containingthat object is subsequently recovered then the data blocks affected by the NOLOGGING operation aremarked as corrupt and will signal an ora-1578, ora-26040.

    Note, no data is salvagable from inside the block.It's needed to recreate this object.

    However, the corruptions may still remain in the SYSAUX tablespace until such time as the blocks getre-used and hence reformatted.

    SOLUTION

    The steps to recreate an AWR (Automatic Workload Repository) table are:

    1. Disable AWR statistics gathering by setting the statistics level to basic, e.g.:

    sqlplus /nolog connect / as sysdba show parameter statistics_level

    alter system set statistics_level = basic scope=both;

    2. Stop and restart the instance in restricted mode, e.g.:

    Pgina 1 de 1Document 430230.1

    09/12/2015https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrl-state=t9vjhrx6e_3...