DBAsupport.com Forums - Powered by vBulletin
Results 1 to 9 of 9

Thread: Checking for datafile corruption

  1. #1
    Join Date
    Oct 2002
    Location
    london
    Posts
    41

    Checking for datafile corruption

    Does anyone know how to check for datafile corruption on oracle 7.3.4. Ive basically just moved a 60Gb of data and I want to check if any of it got corrupted along the way.

  2. #2
    Join Date
    Dec 2002
    Location
    Munich, Germany
    Posts
    20
    Just run $ORACLE_HOME/bin/dbv against each datafile.

  3. #3
    Join Date
    Oct 2002
    Location
    london
    Posts
    41
    Can the database be open when I run this?

  4. #4
    Join Date
    Dec 2002
    Location
    Munich, Germany
    Posts
    20
    yes, this is supported.

  5. #5
    Join Date
    Nov 2000
    Posts
    224
    Sometime dbverify may give false alarm about corruption. Other alternative is to run export on the tablespace containing the datafile. You can create dump in /dev/null so that actual export file will not be occupying any space, but if corruption is tehre it will errorout.

  6. #6
    Join Date
    Aug 2002
    Location
    Colorado Springs
    Posts
    5,253
    The export method wouldn't identify corruption in an index segment, would it?
    David Aldridge,
    "The Oracle Sponge"

    Senior Manager, Business Intelligence Development
    XM Satellite Radio
    Washington, DC

    Oracle ACE

  7. #7
    Join Date
    May 2002
    Posts
    2,645
    LIMITATIONS -----------
    1. Export only reads:
    - user data below the high water mark;
    - parts of the data dictionary, while looking up information concerning the objects being exported.

    2. Export does not detect all corruptions:
    - does not detect disk corruptions above the high water mark;
    - does not detect corruptions in indexes, or in free or temporary extents;
    - does not detect all corruptions in the data dictionary (the export utility does not read all of the data dictionary, so there could still be undetected corruptions in the SYSTEM tablespace).

  8. #8
    Join Date
    Nov 2000
    Posts
    224
    Problem with DBVerify, it will check the corruption datafile on all the ever used blocks. So, if you have corruption in a table in the past and you dropped the table, DBVerfiy may go and give you the corruption in the table which doesn't exists or the blocks which are not occupied by any objects.

    I think DBVerify will not check corruption in disk (hardware corruption), will it?

    I would use, run dbverify, if it gives corruption then run export as it will read all the records from the object.

  9. #9
    Join Date
    Jun 2001
    Location
    Helsinki. Finland
    Posts
    3,938

    Re: Checking for datafile corruption

    Originally posted by blakmk
    Does anyone know how to check for datafile corruption on oracle 7.3.4. Ive basically just moved a 60Gb of data and I want to check if any of it got corrupted along the way.
    I recommend Note:77587.1.
    Oracle Certified Master
    Oracle Certified Professional 6i,8i,9i,10g,11g,12c
    email: ocp_9i@yahoo.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width