Oracle 12c Archive Mode change

Source: Internet
Author: User

1.shutdown Normal or shutdown immediate close the database

Sql*plus:release 12.1.0.1.0 Production on Monday December 15 15:49:47 2014

Copyright (c) 1982, Oracle. All rights reserved.

Connect to:

Oracle Database 12c Enterprise Edition Release 12.1.0.1.0-64bit Production

with the partitioning, OLAP, Advanced Analytics and Real application testing opt ions


sql> shutdown immediate;

The database is closed.

The database has been uninstalled.

The ORACLE routine has been closed.


2. Start the Oracle database to Mount state


sql> startup Mount;

The ORACLE routine has been started.


Total System Global area 2572144640 bytes

Fixed Size 2405952 bytes

Variable Size 687868352 bytes

Database buffers 1879048192 bytes

Redo buffers 2822144 bytes

The database is loaded.

3. Enable or stop the archive mode


If you want to enable archive mode, use the ALTER DATABASE Archivelog command here.

If you want to turn off archive mode, use the ALTER DATABASE Noarchivelog command here.

sql> ALTER DATABASE Archivelog;

The database has changed.

sql> ALTER DATABASE open;

The database has changed.

sql> archive log list;

Database log Mode archive mode

Auto-Archive Enabled

Archive End Use_db_recovery_file_dest

Oldest online log sequence 16

Next Archive log sequence 18

Current log Sequence 18


The above is a description of how to open or close the archive mode of an Oracle 12c database, and hopefully it will help you.


This article is from the "Xianyunyehe" blog, make sure to keep this source http://228110.blog.51cto.com/218110/1590129

Oracle 12c Archive Mode change

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.