Oracle database to modify the archive and non-archive mode

1. Check the current log mode

archive log list;

The following prompt is non-archive mode

2. Modified to archive mode

First close the database (shutdown immediate;) start to mount mode (startup mount;) modify to archive mode (alter database archivelog;) and finally modify the database to open mode (alter database open;)

3. Modified to non-archive mode

2. Modified to archive mode

First shut down the database (shutdown immediate;) start to mount mode (startup mount;) modify to non-archive mode (alter database noarchivelog;) and finally modify the database to open mode (alter database open;)

Guess you like

Origin blog.csdn.net/zetion_3/article/details/114316357