Oracle archive mode and non-archive mode switch

Source: Internet
Author: User
Switch between the archive mode and non-archive mode in Oracle. 1. Check whether oracle is in archive mode in arichiveloglist.

Switch the Oracle archive mode to non-archive Mode 1. Check whether oracle is in archive mode arichive log list.

Oracle archive mode and non-archive mode switch

1. Check whether oracle is in archive Mode

Arichive log list;

Database Log mode non-archive Mode
Disable automatic archiving
Archiving end point USE_DB_RECOVERY_FILE_DEST
The earliest online log sequence 6
Current Log sequence 8

It is displayed that oracle is not in archive mode at this time. It is set to archive mode below.

2. Input: shutdown

The database has been closed.
The database has been detached.
The ORACLE routine has been disabled.


3. Start the database in mount mode and enter startup mount.

The database has been closed.
The database has been detached.
The ORACLE routine has been disabled.


4. Change to archive mode, alter database arichive;

The database has been changed.

Now the modification has been completed. Check the arichive log list.

Database Log mode archiving Mode
Enable automatic archiving
Archiving end point USE_DB_RECOVERY_FILE_DEST
The earliest online log sequence 6
Next archive log sequence 8
Current Log sequence 8

Related reading:

Oracle 11g rac modify archive Mode

Oracle manual full recovery case (archive Mode)

Oracle manual recovery case (non-archive Mode)

Instructions for setting Oracle archive Mode

Backup script in Oracle 10g archive Mode

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.