Steps to Change the database mode from NOARCHIVE to ARCHIVE log mode

## To place a database in archive log mode.

1. First shutdown the database with any one of the options apart from shutdown abort.

SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.

2. Place the database in Mount Stage.

SQL> startup mount;
ORACLE instance started.

Total System Global Area 1241513984 bytes
Fixed Size 778976 bytes
Variable Size 333716768 bytes
Database Buffers 905969664 bytes
Redo Buffers 1048576 bytes
Database mounted.

3. Place the database in Archive mode.

SQL> alter database archivelog;

Database altered.

SQL> alter database open;

Database altered.

4. Now check the log_mode by using the below,
a. SQL> Archive log list

b. select log_mode from v$database.

5. Check the log_archive_dest is set properly to correct destination.

Commands Used:

1.SQL> shutdown immediate;
2.SQL> startup mount;
3.SQL> alter database archivelog;
4.SQL> alter database open;

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: