Size of Log Files (logfilsiz)

Configuration Type
Database

Parameter Type
Configurable

Default [Range]

UNIX
1000 [ 4 - 65 535 ]

Windows NT
250 [ 4 - 65 535 ]

OS/2
250 [ 4 - 4 095 ]

Unit of Measure
Pages (4KB)

Related Parameters

This parameter defines the size of each primary and secondary log file. The size of these log files limits the number of log records that can be written to them before they become full and a new log file is required.

The use of primary and secondary log files as well as the action taken when a log file becomes full are dependent on the type of logging that is being performed:

Recommendation: You must balance the size of the log files with the number of primary log files:

If you are using log retention, the current active log file is closed and truncated when the last application disconnects from a database. When the next connection to the database occurs, the next log file is used. Therefore, if you understand the logging requirements of your concurrent applications you may be able to determine a log file size which will not allocate excessive amounts of wasted space.