DB2 Version 9.7 for Linux, UNIX, and Windows

Time-spent monitor elements are more comprehensive

In Version 9.7, you can use a more comprehensive set of time-based monitor elements to understand where and how the DB2® database manager spends its time. With the ability to pinpoint where most of the time is spent, you can locate potential sources of problems more easily and determine whether tuning can be done to improve performance.

The new time-spent monitor elements, including wait times and component times, provide the following information:

The time-spent monitor elements complement other time-based types of monitor elements, such as CPU time (the amount of CPU used) provided by the operating system, and monitor elements that approximate overall application response time provided by the DB2 database manager.

Example

The following diagram shows one possible visualization of the total DB2 request time on a particular system:

An example of wait and component time metrics
In this example, the section processing time is responsible for a significant percentage of the total request time. This is generally desirable because section processing time represents the time that is spent doing core SQL processing rather than waiting on resources or driving transaction end processing. On the other hand, a large percentage of the overall request time is also spent in various waiting situations; lock wait time specifically. This percentage of lock wait time is undesirable and indicates the need to investigate the locking behavior in more detail.
Note: A new Version 9.7 feature lets you collect additional information about lock events. For more information, see Lock event reporting has been enhanced.