Oracle 10g support Initiates manual archiving

Source: Internet
Author: User
Tags manual log

It's not good to look at Doc.

sql> shutdown Immediate

The database has been closed.

The database has been unloaded.

The ORACLE routine has been closed.

Sql> Startup Mount

The ORACLE routine has started.

Total System Global area 104857600 bytes

Fixed Size 1247540 bytes

Variable Size 96470732 bytes

Database buffers 4194304 bytes

Redo buffers 2945024 bytes

Database loading complete.

--Enable manual archiving

sql> ALTER DATABASE Archivelog manual;

The database has changed.

Sql> select Log_mode from V$database;

Log_mode

------------

MANUAL

sql> ALTER DATABASE open;

The database has changed.

Sql> Show Parameter log_archive_max_processes

NAME TYPE VALUE

------------------------------------ ----------- ------------------------------

Log_archive_max_processes Integer 4

--The archive process is up.

Sql> SELECT * from v$archive_processes where status= ' ACTIVE ';

PROCESS STATUS log_sequence STAT

---------- ---------- ------------ ----

0 ACTIVE 0 IDLE

1 ACTIVE 0 IDLE

2 ACTIVE 0 IDLE

3 ACTIVE 0 IDLE

4 ACTIVE 0 IDLE

--AutoArchive displays ' Enable '

sql> archive log list;

Database log Mode archive mode

AutoArchive enabled

Archive Endpoint Use_db_recovery_file_dest

The oldest online log sequence 111

Next Archive log sequence 112

Current log Sequence 112

sql> alter system switch logfile;

The system has changed.

sql> alter system switch logfile;

--Hang on here ...

--======================================

To open another session:

Sql> alter system archive log current;

The system has changed.

Sql>

Author: 51cto Blog Oracle Little Bastard

More Wonderful content: http://www.bianceng.cnhttp://www.bianceng.cn/database/Oracle/

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.