[Online lesson excerpt]8.2 The recovery experiment for log corruption with a simulated state of inactive (full recovery)

Source: Internet
Author: User
1 Viewing the current log status

From here we can see that we now have three logs, with only 1 members in each group of logs. To demonstrate this experiment, we added 1 members to each group.

2 adding group members to each group

After adding, we verify the status of the current log members:

From the view above, we can see that our log group members have been added to our log group and added to the invalid state of the log members.

3 switching 3 groups of log archives

To view the log status at this time:

You can find that both log Group 1 and log Group 2 are inactive states.

4 Delete Inactive Status log

According to the previous confirmation, our current log Group 1 and log Group 2 are all inactive states, and now we delete the member Redo1.log of log Group 1 directly.

Let's restart the database and see what happens:

We will find that the Log Group 1 Member Redo01.log state becomes the invalid state at this time.

We look at the information in the warning log and notice that there is a hint that the log does not exist.

5 Recovery of log information

Let's log the data again:

[Online lesson excerpt]8.2 The recovery experiment for log corruption with a simulated state of inactive (full recovery)

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.