How to manually start the database Auto-archive mode

Source: Internet
Author: User

if the when the Oracle installation does not have the automatic archive mode turned on, you need to manually start the archive mode.

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/77/80/wKiom1ZpEA6jiQPfAAAQ26O46Nk945.png "title=" 1.png " Style= "Float:none;" alt= "Wkiom1zpea6jiqpfaaaq26o46nk945.png"/>

A) Modify The Log_archive_start definition is automatically archived,after the 10g version, this parameter is obsolete, even if the value is FALSE also automatically archived, the current system is 11g, So there is no need to change.

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/77/7E/wKioL1ZpEIDwtI1OAAAKeVJr1is687.png "title=" 2.png " Style= "Float:none;" alt= "Wkiol1zpeidwti1oaaakevjr1is687.png"/>

b) you can modify The Log_archive_format definition archive file format, which is typically used with default values.

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/77/80/wKiom1ZpEUfwDvu_AAAKIuyWI7A667.png "title=" 8.png " alt= "Wkiom1zpeufwdvu_aaakiuywi7a667.png"/>

c) Modify the log_archive_dest_1 to set the target directory of the archive file.

Alter system set log_archive_dest_1= ' LOCATION=+ARH/ORCL ';

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/77/7E/wKioL1ZpEIGB3q6qAAAhhMAawL0148.png "title=" 4.png " Style= "Float:none;" alt= "Wkiol1zpeigb3q6qaaahhmaawl0148.png"/>

d) Close the database

Shutdown immediate;

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M00/77/80/wKiom1ZpEA7Bf94nAAAJYJZbmYM726.png "title=" 5.png " Style= "Float:none;" alt= "Wkiom1zpea7bf94naaajyjzbmym726.png"/>

e) start the database in mount mode

startup Mount;

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M00/77/80/wKiom1ZpEGDj2wFCAAAUYz3A8Hw545.png "title=" 6.png " alt= "Wkiom1zpegdj2wfcaaauyz3a8hw545.png"/>


f) start the archive mode and open the database

ALTER DATABASE Archivelog; ( turn off archive mode:ALTER DATABASE Noarchivelog)

Restarting the startup database

ALTER DATABASE open;

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/77/80/wKiom1ZpEA_ym7TrAAAaSQmmYZs380.png "style=" float: none; "title=" 7.png "alt=" Wkiom1zpea_ym7traaaasqmmyzs380.png "/>


This article is from the "Quest" blog, please be sure to keep this source http://king3130.blog.51cto.com/3418808/1721508

How to manually start the database Auto-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.