Ora-01122:database File 4 failed verification check

Source: Internet
Author: User

Phenomenon:

When you do a table space recovery walkthrough, you encounter the following error message:

sql> ALTER DATABASE datafile 4 online;
ALTER DATABASE datafile 4 online
*
ERROR at line 1:
Ora-01122:database File 4 failed verification check
Ora-01110:data file 4: '/ORA/APP/ORACLE/ORADATA/ORCL/USERS01.DBF '
Ora-01210:data file header is media corrupt

Workaround:

Analysis Reason:

[Email protected] hotback]$ Oerr ora 1122
01122, 00000, "database file%s failed verification Check"
*cause:the information in this file was inconsistent with information
From the control file. See accompanying message for reason.
*action:make certain that the db files and control files is the correct
Files for this database.
[Email protected] hotback]$ Oerr ora 1110
01110, 00000, "Data file%s: '%s '"
*cause:reporting file name for details of another error. The reported
Name can be of the old file if a data file move operation is
In progress.
*action:see associated error message.
[Email protected] hotback]$ Oerr ora 1210
01210, 00000, "Data file header is media corrupt"
*cause:the file Header block is internally inconsistent. The beginning
of the block have a header with a checksum and other data for
Insuring the consistancy of the block. It's possible that
The last disk write does not operate correctly. The most likely
Problem is, which is the not a datafile for any database.
*action:The operating system make correct file available to database.
If The trace file dump indicates that's the checksum is wrong,
Restore from a backup and do media recovery.

Basically, the restored data file is not correct. After careful examination, sure enough is:

Ho cp '/ora/app/oracle/backup/hotback/con01.ctl'/ora/app/oracle/oradata/orcl/users01.dbf'

The backup control file when the data file to restore back!

Re-restore:

Sql> ho cp '/ora/app/oracle/backup/hotback/users01.dbf'/ora/app/oracle/oradata/orcl/users01.dbf '

The next steps are performed correctly.



Ora-01122:database file 4 failed verification check

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.