Start of Content Area

Procedure documentation Monitoring Checkpoints (Informix)  Locate the document in its SAP Library structure

Use

You can use the SAP/Informix database monitor to monitor Informix checkpoints.

Prerequisites

When tuning checkpoints, remember that:

You can use the following approaches:

Approach

Advantage

Disadvantage

Save modified pages to be written at checkpoint

Chunk writes are the most efficient

The checkpoint might last several minutes if you have a large volume of modified data. User response times might significantly deteriorate during the checkpoint.

Write modified pages steadily between checkpoints

Steady performance for the user with no deterioration at checkpoint

The writes between checkpoints are less efficient

Procedure

  1. Choose Tools ® CCMS ® Control/Monitoring ® Performance Menu ® Database ® Activity ® Detail Analysis Menu ® Wait Situations.
  2. You can now see how threads in your system are spending their time. If you see waits on checkpoints, you might need to tune the length of checkpoints in your system.

  3. Choose Tools ® CCMS ® Control/Monitoring ® Performance Menu ® Database ® Activity ® Detail Analysis Menu ® State on disk ® Database Message Log.
  4. You can now see the length of the checkpoints. If there are no very long waits on checkpoints and the checkpoint duration is below 20 to 30 seconds, then you probably do not need to tune checkpoints.

  5. If you need to tune checkpoints, consider the following:

The second measure outlined above – that is, reducing LRU_MAX_DIRTY and LRU_MIN_DIRTY – is the standard measure for reducing checkpoint duration.

The SAP defaults for these parameters are 20 and 10 respectively, and it is not uncommon for large systems to have values as low as 5 and 2. Therefore, in a standard SAP System, pages start being written to disk when 20% are dirty and stop being written when only 10% are dirty. When LRU_MAX_DIRTY is set to 5% on a large highly active system, modified pages are written more or less continuously by the AIO VPs.

 

See also:

CKPTINTVL (Informix)

LRU_MAX_DIRTY, LRU_MIN_DIRTY (Informix)

PHYSFILE (Informix)