Restoration of corrupted Oracle database file blocks

Source: Internet
Author: User

Restoration of corrupted Oracle database file blocks

Data Recovery Fault Description: When Oracle database is enabled, the error "system01.dbf requires more recovery to maintain consistency and the database cannot be opened" is reported ". Engineers detected that sysaux01.dbf had bad blocks and sysaux01.dbf files were damaged. The database is not backed up and cannot be recovered through backup. The customer provides all the files in the oraclehome directory of the database and urgently needs to restore data under the zxfg user.

Oracle Database Fault Analysis: "system01.dbf requires more recovery to maintain consistency", which may be caused by damage to control files, damage to data files, inconsistency between data files and the SCN of control files. After further detection and analysis of database files, the sysaux01.dbf file contains bad blocks. After the database is restored and started, many query errors are reported. The export and data pump tools cannot be used to query alarm logs and analyze the alarms. The sysaux file is damaged, causing an appeal error. The database cannot be repaired at the database level. System and user tablespace data files are normal. You can use the underlying parsing data files to restore user data.

Oracle Database detection and data recovery:
1. Use DBV to detect data files
Figure 1
The analysis result shows that the SYSAUX01.DBF file Data detection fails for 40 pages, the Index detection fails for 29 pages, and other files are normal.

2. Fix the database and open the database.
Figure 2
Figure 3

3. database query error. export and data pump error.
Figure 4
Figure 5
Make various attempts to view a large amount of information. This internal error of the database cannot be solved by using commands.
4. Underlying parsing: Import ZXFG user data to the new database
Figure 6
Figure 7

Database data recovery results
The bottom layer parses the database file and imports zxfg user data into the new database. This completely restores the data required by the user and restores 100% of the data. The customer is very satisfied.

Related Article

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.