Skip to main contentIBM Db2 dsmtop Wiki

IO - Logging Performance

Purpose

This view shows the performance of transaction logging.

IO-LoggingPerformance.png

Metrics Shown in Grid

Member


Delta Log Writes/s

This is the number of write IO operations per second to the transaction log.


Average Log Writes Times(ms)


Delta Log Reads/s

Number of read IO operations from the transaction log.  DB2 reads from the transaction log when rolling back a transaction, during log replay and in HADR the primary reads logs to send to the standby.


Average Log Reads Times(ms)


Delta LogFullEvents/s

Normally, there should be no log buffer full events.  If this is non-zero, and the log buffer size is < 1024 pages, try increasing the log buffer size.


Delta Commits/s

High numbers of commits drive much IO for transaction logging.  This is not necessarily a bad thing – it can just indicate that the data server is doing a lot of work.  However, it can also indicated excessive numbers of small transactions.


Delta Activities/Commits

This provides one indication of transaction size.  If the number of activities per commit is close to 1.0, it indicates that you could reduce the load on the logging subsystem by reworking applications to bundle more updates into each transaction (unit of work).  Not all applications are amenable to doing larger transactions.  Also, there is a trade-off: larger transactions hold more locks for longer, possibly leading to lock contention, timeouts and deadlocks.

Average Commits Times(ms)

High values for the average commit processing time can indicate that that the transaction logging subsystem is overloaded.  Coupled with a high value for log writes it can indicate that IO is saturated for the file system where the logs reside.  High values for average log write time without particularly high values for the number of log writes can indicate that logging is competing with other activities for IO.  An important best practice is to put the transactions logs on their own fast, dedicated file system.

Default Sort Column

Member, descending

Keyboard navigation: VIg

Dedicated shortcut key: (none)

Author: KevinLBeck