Sql> shutdown immediatesql> startup mountsql> alter system set log_archive_dest_1= ' location=/u01/app/oracle/archive/ mandatory '; Sql> alter system set log_archive_dest_2= ' location=/u02/app/oracle/archive/ Optional '; sql> alter database archivelog; sql> alter database open; Sql> select dbid,name,log_mode from v$database; dbid NAME log_mode---------- --------------------------- ----- -------------------------------1081616855 king ARCHIVELOGSQL> archive log list;database log mode &nBsp; archive modeautomatic archival enabledarchive destination /u02/app/oracle/archive/Oldest Online log sequence 39next log sequence to archive 41Current log sequence 41SQL> show parameter log_archive_dest_1;NAME TYPE valUE------------------------------------ --------------------------------- --------------------------- ---log_archive_dest_1 string location=/u01/ app/oracle/archi ve/ mandatory SQL> show parameter log_archive_dest_2;NAME TYPE value------------------------------------ --------------------------------- ------------------ ------------log_archive_dest_2 string location=/u02/app/oracle/archi ve/ optional
sql> show parameter log_archive_maxname TYPE value------------------------------------ --------------------------------- ------------ ------------------log_archive_max_processes integer 4sql> show parameter log_ archive_min_succeed_destname TYPE value------------------------------------ --- ------------------------------ ------------------------------log_archive_min_succeed_dest integer 1
Sql> alter system archive log current; System altered.
Oracle Database Archive Management