Journal Switches and Journal Numbers
The point at which the database finishes writing to one online transaction journal and begins writing to another is called a journal switch. The JADE database engine supports the switching of auditing to a new journal file regardless of whether there are active transactions (that is, a quietpoint is not required for the switch to occur).
A journal switch is scheduled when the online transaction journal is completely filled and writing should continue to the next online transaction journal. When a transaction journal reaches its configured size, a journal switch is scheduled and processed by a worker thread. You can modify this behavior by using the
The database engine controls all required prior journals that may be needed should a transaction abort. (The undo processing of a transaction abort may require reverse traversal of multiple journal files.) As there is no forced checkpoint after switching to a new journal, the scope of restart recovery may encompass prior journal content. The
The database assigns the next journal number to the new online transaction journal when a journal switch occurs. All transaction journals (the online journals and all archived, or offline, journals) are uniquely identified by their journal number. During recovery, the database properly applies transaction journal files in ascending journal number order.
When archival recovery is enabled, the [
You can support your own disaster recovery automation by using the
The flexibility these parameters provide is shown in the following example.
JournalMinSize=0 JournalMaxSize=100 JournalSwitchInterval=60
The
If you find time-based switching useful but you do not want empty journals generated, set the