All technological notes.
Archived Redo LogArchived Redo Log FilesPlace your database in ARCHIVELOG mode.
Configure redundant archive log destinations.

The Oracle Database server treats the online redo log groups as a circular buffer in which to store transaction information, filling one group and then moving on to the next.
log group.archived redo log files
online redo log group before allowing it to be overwritten.To facilitate the creation of archived redo log files:
archived redo log files.ARCHIVELOG mode.fast recovery area.The destination should exist before placing the database in ARCHIVELOG mode. When a directory is specified as a destination, there should be a slash at the end of the directory name.
Archiver (ARCn) Processlog switch:
online redo log group gets filled, the Oracle Database server begins writing to the next online redo log group.online redo log group to anotherArchiver (ARCn):
online redo log files when the database is in ARCHIVELOG modeThe ARCn process initiates archiving of the filled log group at every log switch.
online redo log group before the log group can be reused so that all the changes made to the database are preserved.One of the important decisions that a DBA must make is whether to configure the database to operate in ARCHIVELOG mode or in NOARCHIVELOG mode.
NOARCHIVELOG mode, the online redo log files are overwritten each time a log switch occurs.ARCHIVELOG mode, inactive groups of filled online redo log files must be archived before they can be used again.Notes:
ARCHIVELOG mode is essential for most backup strategies.archived redo log file destination fills up or cannot be written to, the database will eventually come to a halt停机.
archived redo log files from the archived redo log file destination and the database will resume operations.移除存档Destination:
LOG_ARCHIVE_DESTLOG_ARCHIVE_DEST_n31 different destinations.file system storage, it is recommended that you add multiple locations across different disks. 分散分布fast recovery area is enabled, by default DB_RECOVERY_FILE_DEST is specified as an archived redo log file destination.Naming:
archived redo log file must have a unique name to avoid overwriting older log files.To help create unique file names, Oracle Database allows several wildcard characters in the name format:
%s: Includes the log sequence number as part of the file name%t: Includes the thread number as part of the file name%r: Includes the resetlogs ID to ensure that the archive log file name remains unique (even after certain advanced recovery techniques that reset log sequence numbers)%d: Includes the database ID as part of the file name%s, %t, and %r as .%d can also be included if multiple databases share the same archive log destination.ARCHIVELOG ModeUsing SQL commands:
ALTER DATABASE ARCHIVELOG command.shutdown immediate
startup mount
alter database archivelog;
alter database open;
can use Enterprise Manager Cloud Control to place the database in ARCHIVELOG mode.
ARCHIVELOG mode:
ARCHIVELOG mode, the database must be in MOUNT mode.
ARCHIVELOG mode.ARCHIVELOG mode because your database is recoverable only from the first backup taken in that mode. 模式转变后,必须备份一次; 从转变后第一次备份开始可恢复性.NOARCHIVELOG mode
ArchivedLog modeARCHIVELOG modearchive log list

ARCHIVELOG modeMOUNT mode to enable archiving.shutdown immediate
startup mount
alter database archivelog;
archive log list
alter database open;

-- when the db is up and running
alter system archive log stop;
shutdown immediate
-- Startup in exclusive mount mode.
startup mount restrict
-- if flashback database is enabled, it cannot disable
alter database noarchivelog;
alter database open;
archive log list
--Shutdown Oracle and startup normally
shutdown immediate
startup