All pages
Powered by GitBook
1 of 1

Loading...

Changing Oracle database mode

This article describes how to change the Oracle database mode.

Changing the Oracle database mode is crucial for the correct backup execution.


Executing the following operations will temporarily make the Oracle database environment unavailable.

Prerequisites

Before starting the Oracle database backup task, make sure that the database mode is set to ARCHIVELOG. To verify that the mode is configured correctly or to change it, open the command line as the user configured in the backup plan and run the sqlplus tool using the following command:

sqlplus / as sysdba

You can then close this tool using the QUIT; command.


Verifying the settings

To verify that the database mode is correctly set to ARCHIVELOG, run the following command:

SELECT LOG_MODE FROM v$database;
Incorrect database mode example.

If the database mode is set to NOARCHIVELOG, change it to ARCHIVELOG.


You can switch the database mode from NOARCHIVELOG to ARCHIVELOG using the following commands:

Now, verify that the database mode has been changed successfully by running the following command:


SHUTDOWN IMMEDIATE;
STARTUP MOUNT;
ALTER DATABASE ARCHIVELOG;
ALTER DATABASE OPEN;
QUIT;
SELECT LOG_MODE FROM v$database;

Changing the database mode

Useful links and items

Database 2 Day DBAdocs.oracle.com
Logo