How to enable/disable oracle Archiving

Source: Internet
Author: User
To enable and disable oracle archive, if the OPSRAC environment is used, You Need To comment out parallel_servertrue first, then perform the following steps, and use this parameter to restart 1. Enable archive. disable shutdownimmediateb. startupmountc. alterdatabasearchivelogd. alterdatabaseopne

How to enable/disable oracle Archiving

In the OPS/RAC environment, You Need To comment out parallel_server = true first, then perform the following steps, and then restart with this parameter.

1. Enable Archiving

A. Disable shutdown immediate.

B. startup mount

C. alter database archivelog

D. alter database opne

2. Archive prohibited

A. Shut down the database shutdown immediate.

B. startup mount

C. alter database noarchivelog

D. alter database open

You can view the archived information using the following statement:

SQL> archive log list

Database log mode Archive Mode

Automatic archival Enabled

Archive destination E: oracleora92databasearchive

Oldest online log sequence 131

Next log sequence to archive 133

Current log sequence 133

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.