Change non-archive Oracle database to archive Oracle Database

Source: Internet
Author: User

Archive mode is very important in the real production environment of Oracle. You can use archive mode for hot backup, and then quickly recover data when a database problem occurs, saving the database. But sometimes the database is built, and it is found that the database is not archived. In this case, we need to change it to archive. How should we change it.

In fact, the modification is quite simple, but you must remember that you cannot modify it when the database is running. You must first stop the database, then mount the data control file, and then modify it to the archive mode, finally, start the data file to make the database fully started. The procedure is as follows:

First, stop the database and then mount the database.

Startup Mount

Then change the archive mode.

Alter   Database Archivelog

Then start the data file.

Alter   Database   Open

In this way, our database is successfully changed from non-archive mode to archive mode.

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.