Hitachi

Hitachi Advanced Database Setup and Operation Guide


6.12 Estimating the size of the system log files

This section explains how to estimate the size of the system log files.

System log files consist of a master log file and a set of user log files. The master log file and user log files are created with their initial size in the DB directory ($DBDIR/ADBSYS/ADBSLG) when the HADB server starts. The master log file is created automatically, and the user log files are created with the value specified in the server definition. Therefore, to determine the size of the system log files, you need to determine the sizes of the master log file and the user log files.

When an increase in the size of the system logs causes a system log file to exceed its initial capacity, the system log file is automatically extended. Because extending a system log file greatly impacts update performance, make sure that you estimate the size of the system log files so that you can specify an initial capacity that will accommodate your needs.

Use the formula shown below to determine the size of the system log files. Because unusable areas might occur in system log files, specify a size that is at least 1.2 times the value determined here.

Formula (kilobytes)
system log file size = MSTLOG + USRLOG × user_file_num
Explanation of variables
Organization of this section