Scalable Database Server, HiRDB Version 8 Description
The pdlogunld command can be used to unload system log information and create an unload log file. Before you create an unload log file, you should check the status of the system 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. The HiRDB administrator uses the pdlogunld command to unload unload-wait files. Figure 7-3 shows changes 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. For this reason, it is essential that system log information be unloaded.
You can check the status of the system log files with the pdlogls command, as shown in the following example:
Repeated unloading of system log information results in a proliferation of unload log files, which occupy disk space. The HiRDB administrator should 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. Figure 7-4 shows the relationship between a backup and unload log files.
Figure 7-4 Relationship between backup and unload log files
As explained above, the HiRDB administrator must use the pdlogunld command to unload any unload-wait system log files. If this operation is not performed, you may run out of system log files that can be swapped in when swapping occurs, causing HiRDB to terminate abnormally.
HiRDB provides a facility called the automatic log unloading facility that automates the unloading of system log files. When the unloading operation must be performed frequently, consider automating it.
For details about the automatic log unloading facility, see the HiRDB Version 8 System Operation Guide.
All Rights Reserved. Copyright (C) 2007, Hitachi, Ltd.