The ARCHIVE JOURNAL utility offloads, to one or more archive journal files, the entries in one or more disk journal files.
The options you can choose depend upon the type of recovery being performed and whether or not the DC/UCF system is active.
Authorization
|
To |
You need this privilege |
On |
|---|---|---|
|
Archive one or more journal files |
USE |
The DMCL |
►►─── ARCHIVE JOURNAL ────────────────────────────────────────────────────────► ►─┬────────────────────────┬─────────────────────────────────────────────────► └─ BUFFERS buffer-count ─┘ ►─┬────────────────────────────────┬─────────────────────────────────────────►◄ ├─ ALL ──────────────────────────┤ ├─ AUTO ◄────────────────────────┤ ├─ AUTOALL ──────────────────────┤ ├─ FULL ─────────────────────────┤ ├─ READ ─┬─────────────────────┬─┤ │ └─ journal-file-name ─┘ │ ├─ REPORT ───────────────────────┤ └─ RESTART journal-file-name ────┘
Specifies the number of buffer pages to be used during condense processing.
Condense processing involves copying the before image of unfinished transactions back to the disk journal file after it is offloaded. Condense processing of journal segments takes place when both of the following apply:
The buffer is used for storing before images of unfinished transactions before copying the images back to the disk journal file.
The buffer page size is equal to the block size of the disk journal file.
An integer in the range 2 through 32,767. The default is 5.
Specifies that all non-empty disk journal files are to be offloaded, starting with the file containing the oldest entries.
Note: This option is not allowed while the DC/UCF system is active or after an abnormal system shutdown, unless you are beginning a manual recovery of the entire system.
After offloading the journal files, they are marked as empty.
Before images of unfinished transactions are not rewritten or condensed after offloading the journal files. These before images are needed if you need to recover from an abnormal shutdown.
Directs the ARCHIVE JOURNAL utility to select a single file to offload:
After offloading the file, it is condensed.
After condensing the selected file, a new, empty journal segment is created.
If no full disk journal file exists, no file is offloaded or condensed.
After offloading the file, it is marked as empty.
After offloading the journal files, they are marked as empty.
Directs the ARCHIVE JOURNAL utility to offload all full disk journal files associated with the database, starting with the file containing the oldest entries. After offloading each file, it is marked as empty.
Before images of unfinished transactions are not condensed and rewritten. These before images are needed if you need to recover from an abnormal shutdown.
Note: This option is not allowed while the DC/UCF system is active or after an abnormal system shutdown, unless you are beginning a manual recovery of the entire system.
Directs the ARCHIVE JOURNAL utility to offload a single disk journal file without condensing it or marking it as empty afterwards.
If you do not specify a file name, the oldest non-empty disk journal file is offloaded.
The name of the disk journal file to be read.
Displays information about all disk journal files. No archiving or condensing of the journal files is performed.
Directs the ARCHIVE JOURNAL utility to restart an archive journal operation that terminated abnormally. If the operation failed:
The name of the disk journal file being offloaded at the time of the abend.
|
Copyright © 2014 CA.
All rights reserved.
|
|