Nonstop Database, HiRDB Version 9 Description
Unload log files, which are required for recovery of the database, are created by unloading the system logs. If you continue operations without unloading the system logs, no output destination exists for the system logs and HiRDB terminates abnormally. Therefore, we recommend that you automatically unload system logs by using the automatic log unloading facility. For details about the automatic log unloading facility, see Using the automatic log unloading facility in the HiRDB Version 9 System Operation Guide.
This subsection explains why unloading system logs is necessary, and how to retain unload log files.
The file to which system log information is output is called the current file. If system log information fills the current file, the output for the system log information is changed to another system log file in a process called system log file swapping; what was the current file becomes an unload-wait file. If you use the automatic log unloading facility, the system log will automatically be unloaded when the system log file assumes the unload wait status. The following figure shows the system log file status changes.
Figure 7-3 System log file status changes
System log information cannot be output to an unload-wait file. If all system log files become unload-wait files, system log information cannot be output any longer, and HiRDB terminates abnormally. We therefore recommend using the automatic log unloading facility. Furthermore, if the disk holding the directory for unload log files becomes full, the automatic log unloading facility stops working. We therefore recommend that you periodically delete unnecessary unload log files to ensure that the automatic log unloading facility does not stop. For details about retaining unload log files, see (3) Retaining unload log files.
Note that the HiRDB administrator can also manually perform unloading by using the pdlogunld command. In this case, take special note of the following:
If you want to perform the unloading manually, you must first check the status of the system log files. You can check the status of the system log files by using the pdlogls command, as the following example shows.
Repeated unloading of system log information results in a proliferation of unload log files, which occupy disk space. The HiRDB administrator must delete unload log files as soon as they are no longer needed.
When a backup is made, unload log files containing only data produced prior to the backup are no longer needed. The following figure shows the relationship between a backup and unload log files.
Figure 7-4 Relationship between backup and unload log files
All Rights Reserved. Copyright (C) 2015, Hitachi, Ltd.