Oracle redo online log files

Source: Internet
Author: User
Redo log files are an indispensable part of the ORACLE database. The Oracle server records all database changes to the redo log buffer in order, and the LGWR process retries

Redo log files are an indispensable part of the ORACLE database. The Oracle server records all database changes to the redo log buffer in order, and the LGWR process retries

Oracle redo online Log File reconstruction in seven steps redo online log reconstruction in five minutes redo log Reconstruction

Step 1: create three new online log groups:

  • Step 2: Change the user status

    AlterSystem switch logfile;

    Step 3: view the user status

    Steps 2 and 3 are repeated, and online logs of active users are transferred to groups 4, 5, and 6;

    Step 4: restart the database so that group1, group2, and group3 are all inactive, and then use the following command to delete the original redo group.

  • Step 5: rebuild group1, group2, group3,

  • Step 6: Repeat steps 2 and 3 to move the online Log Activity Status of the user redo to group1, 2, or 3;

    Step 7: restart the machine and delete the machine When configuring inactive status in group4, group5, and group6.

  • The following are references.

    Redo log files are an indispensable part of the ORACLE database. The Oracle server records all database changes to the redo log buffer in order, the LGWR process writes redo entries from the redo log buffer to the online redo log file. In the event of a media failure, a recovery mechanism is provided, which is also a means for ORACLE databases to ensure data security.

    In a real environment, the redo log file may be lost due to accidental deletion or other reasons. If the database detects the loss of the redo log at startup, the database cannot be started. If the database switches to a log file group during running and the next group or all of the redo logs are lost, the database will crash. Therefore, it is necessary to learn the Oracle redo log restoration skills.

    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.