Lesson 6 | Setting up archivelog mode |
Objective | Configure archivelog mode. |
LOG_ARCHIVE_DEST
and LOG_ARCHIVE_FORMAT
. On our example system we would change init.ora to nclude the following:LOG_ARCHIVE_DEST=D:\oracle8\archive
LOG_ARCHIVE_FORMAT=arch%S.arc
LOG_ARCHIVE_FORMAT
parameter has the following options to name your archive log files:
LOG_ARCHIVE_DUPLEX_DEST
and LOG_ARCHIVE_MIN_SUCCEES_DEST
. This second parameter
will indicate how many archive log destinations must succeed, either 1 or 2. So on our system, we will enter the following in our init.ora
file:LOG_ARCHIVE_DUPLEX_DEST=e:\oracle8\archive
LOG_ARCHIVE_MIN_SUCCEES_DEST=1