Oracle Archivelog mode and non-archivelog mode conversion

Source: Internet
Author: User

The recent integration environment when the archive log is full, the database is unable to log in, ask the DBA to find out, privately according to the DBA's search scheme, take the development environment to do a database mode switch, in order to do the synchronization monitoring analysis problem, this gives the data path

First Use DBA login, link to database after use

Sqlplus/as Sysdba;

Archive Log list

View the current database archive mode after it is indeed archived or non-archived.
Use

Shutdwon Immediate

Close the database,
Then use

Startup Mount

command to open the data in the Mount State
use

alter  database  archivelog
2   or
3  alter  database  noarchivelog

Keep the database in archive or non-archival mode
Again through

1 Archive log list

Confirm Archive Mode again
You might also want to use

1 Archive log start

Turn on automatic archiving
Finally don't forget

1 ALTER DATABASE open

Open Database


This article is from the "Summary of problems encountered" blog, please be sure to keep this source http://4184212.blog.51cto.com/4174212/1672117

Oracle Archivelog mode and non-archivelog mode conversion

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.