If your workload is update intensive, you can use the following formula to calculate the size of the physical log where PHYSFILE equals the physical-log size:
PHYSFILE = (users * max_log_pages_per_crit_sect * 4 * pagesize) / 1024
If you set the NETTYPE parameter, sum the values specified in the users field of each NETTYPE parameter in your ONCONFIG file.
users * max_log_pages_per_crit_sect
This formula is based on how much physical logging space the database server needs in a worst-case scenario. This scenario takes place when a checkpoint occurs because the log becomes 75 percent full. This size might be too small or large for your actual workload or configuration.
If you are using simple large objects in a dbspace in a database without logging, substitute the size of the most-frequently occurring simple large object in the dbspace for the maximum log pages per critical section.
For more information on monitoring and tuning the physical log, refer to the chapter on configuration effects on I/O utilization in your IBM Informix Dynamic Server Performance Guide.
Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]