How are the archived redo log files' names determined when automatic archiving is enabled?
How are the archived redo log files' names determined when automatic archiving is enabled?
Rating:
When a database is running in ARCHIVELOG mode, and automatic archiving is enabled, the archiver process (ARCn) automatically archives the filled online redo log files at specified archive destinations. ARCn automatically decides the names of the archived redo log files by looking at the LOG_ARCHIVE_FORMAT parameter in the initialization parameter file. The LOG_ARCHIVE_FORMAT initialization parameter specifies a default filename format for the archived redo log files. It uses a text string and certain variables to specify the default filename format. This helps Oracle keep the archived redo log files' names sequential, unique, and easily identifiable from other files.
The following variables can be used in the filename format:
If the current log sequence number is 5, and the thread number is 1, the corresponding archived redo log file's name will be Log5_1.arc (according to the Log%s_%t.arc filename format).
Using the uppercase letters for the above variables (e.g., %S and %T) causes the value to be of a fixed length and padded to the left with zeros.
Rating:
Other articles
- What is a tnsnames.ora file?
- What is resynchronization of a recovery catalog?
- What is a backup set?
- What is duplexing of a backup set?
- What is a listener.ora file?
