[Backup and recovery] recover data files in noarchivelog Mode

Source: Internet
Author: User

Cause:

The data file in noarchivelog mode is corrupted.

Solution:

Method 1 (non-RMAN backup ):

Because there are no archived log files, the restoration operation cannot be performed in noarchivelog mode and can only be completed. Because no log files are archived to synchronize the restored data files with the rest of the database, the database cannot be opened. Therefore, the only option in noarchivelog mode is to restore the entire database (including all data files and control files ). After all files are restored from a complete offline backup, these files are synchronized in the database after the restoration, so that the database can be opened.

Disadvantage: All work after this backup will be lost.

Method 2 (RMAN backup ):

Because RMAN does not back up online redo log files, the database will still lose these files after the complete restoration operation is performed. For this reason, the restored Startup operation will fail and the database will stop in the loading mode. Because it is in loading mode, you can run the alter database clear logfile group <group number> command to recreate all log file groups. Then, the database is opened.

Disadvantage: All work after this backup will be lost.

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.