[Lesson]9.2 Simulation database, table space and recovery operation after data file corruption

Source: Internet
Author: User

1 Environment Preparation

Make a full backup of the database:

Verify the current backup file:

2 Recovery of database corruption

2.1 Impersonation Database corruption

Try restarting the database to see the error:

The important point here is that we use the Catlog database as the directory database, so even if the control file is lost it does not affect our recovery.

Now let's check the alarm file for error:

2.2 Database Recovery

3 Recovery of table space corruption3.1 Damage to the simulation table space

Looking at the table space for the current library, we now simulate TEST_MSSM and TEST_ASSM table space corruption.

To delete a tablespace file:

Restart the database to view the error message:

Let's check the error message in the alarm file:

3.2 Restoring a table space

Confirm the status of the tablespace again:

4 recovery After a corrupted data file4.1 Corrupted analog data file

Try to start the database:

4.2 Recovery of data files

[Lesson]9.2 Simulation database, table space and recovery operation after data file corruption

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.