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;)