In Oracle Database, every change is first recorded in the online redo logs. When the database is running in ARCHIVELOG mode, those filled redo logs are copied to archived redo logs so they can be used for recovery and high-availability features. This module introduces the two ways DBAs think about archiving: automatic archiving (the normal modern behavior in ARCHIVELOG mode) and manual archiving (a legacy operational concept that survives today mostly as “manual forced archive actions”).
By the end of this module you should be familiar with:
The module also includes a short discussion of standby databases. Standby databases remain a practical HA/DR option because they can reduce downtime and revenue loss compared to a full restore-and-recover event on a single primary database.
The next lesson discusses archiving your redo log files.
In Oracle 23ai, the “manual vs automatic” distinction has evolved:
LOG_ARCHIVE_DEST_n).
This module focuses on redo log archiving. Keep in mind that Oracle also has other features that use the word “archive” (for example, application-level “in-database archiving” patterns, or information lifecycle policies). Those are conceptually different from archived redo logs used for media recovery.
Even when archiving is “automatic,” DBAs often need to force specific redo/archiving events:
ALTER SYSTEM ARCHIVE LOG CURRENT;
ALTER SYSTEM SWITCH LOGFILE;
These commands do not “replace” automatic archiving. They are DBA-controlled triggers that can help you validate configuration, advance redo sequences, or ensure a known recovery point.
Automatic archiving in Oracle is largely a combination of:
Typical configuration points include the Fast Recovery Area (FRA) via DB_RECOVERY_FILE_DEST and one or more
destination parameters like LOG_ARCHIVE_DEST_1, LOG_ARCHIVE_DEST_2, etc.
In a healthy configuration, ARCn copies redo logs as they fill. If archiving stops unexpectedly, the most common root cause is a destination problem (full FRA/filesystem, permission issues, invalid path, or transport errors in a Data Guard configuration).
A quick check for the archiver status is the ARCHIVER column in V$INSTANCE:
SELECT archiver
FROM v$instance;
Typical output
ARCHIVER
--------
STARTED
A value of STARTED indicates that archiving is enabled and Oracle’s archiver processes are running. If the value is STOPPED, the database is either not archiving redo (for example, in NOARCHIVELOG mode) or archiving is not currently active due to configuration/state.
The next lesson discusses archiving your redo log files.