Monitor checkpoint information
Monitor checkpoint activity to view information that includes the number of times that threads were required to wait for the checkpoint to complete. This information is useful for determining if the checkpoint interval is appropriate.
To monitor checkpoints, use the following commands.
Utility | Command | Additional Information |
---|---|---|
The onstat utility | onstat -m | View the last 20 lines in the message log. If a checkpoint message is not in the last 20 lines, read the message log directly with a text editor. The database server writes individual checkpoint messages to the log when the checkpoint ends. If a checkpoint occurs, but the database server has no pages to write to disk, the database server does not write any messages to the message log. |
The onstat utility | onstat -p | Obtains these checkpoint statistics:
|
ON-Monitor (UNIX™) | The Checkpoints and Check Waits fields display the same information as the numckpts and ckpwaits fields in onstat -p. |
For information about tuning the checkpoint interval, see your HCL OneDB™ Performance Guide.