Suspensions and wait time
Class 3 suspension time is the amount of wait time, which includes synchronous buffer pool I/O wait time, log I/O wait time, lock and latch wait time and other wait times.
IRLM lock/latch
- The IRLM trace is active.
- The WLM dispatching priority of the IRLM address space is too low. It is best to use SYSSTC dispatching priority for the IRLM address space.
- The IRLM is queried frequently by requests such as DISPLAY DATABASE LOCKS and MODIFY irlmproc,STATUS commands.
- The DEADLOCK TIME value is to small and locking rates are high.
- A large number of locks are held before an operation commits. If the MAX HELD LOCKS value in the accounting report is high, commit more frequently.
Db2 latch
Db2 latch suspension time indicates wait time for latches that are acquired internally within Db2 for short term serialization of resources such as storage and control block changes.Synchronous I/O suspension time
Synchronous I/O suspension time is the total application wait time for synchronous I/Os. It is the total of database I/O and log write I/O. In the IBM® OMEGAMON® for Db2 Performance Expert on z/OS® accounting report, check the values for SYNCHRON. I/O, DATABASE I/O, and LOG WRITE I/O. Database I/O and log I/O are not reported separately at the package level.
Service task suspensions
Service task suspension is the accumulated wait time from switching synchronous execution units, by which Db2 switches from one execution unit to another.
In the IBM OMEGAMON for Db2 Performance Expert on z/OS accounting report, the total of this information is reported in the SER.TASK SWTCH field. The field is the total of the five fields that follow it. If several types of suspensions overlap, the sum of their wait times can exceed the total clock time that Db2 spends waiting. Therefore, when service task suspensions overlap other types, the wait time for the other types of suspensions is not counted.
Other read suspensions
- Sequential prefetch
- List prefetch
- Dynamic prefetch
- Synchronous read I/O performed by a thread other than the one being reported
Other write suspensions
Other write suspensions result from waiting to update pages that already have I/O in progress. The reported value is the accumulated wait time for write I/O for threads other than this one. It includes time for asynchronous write I/O and synchronous write I/O performed by a thread other than the one being reported As a guideline, an asynchronous write I/O takes 0.1 to 2 milliseconds per page.
Page latch suspension
Page latch suspension indicates the accumulated wait time because of page latch contention.
- If the suspension is on the index leaf page, use one of the following strategies:
- Make the inserts random
- Drop the index
- Perform the inserts from a single member
- Use a smaller index page size
- If the page latch suspension is on a space map page, use the MEMBER CLUSTER option for the table space.
- Activate and analyze the performance trace for IFCIDs 0226 and 0227 to analyze the page latch details.
In the IBM OMEGAMON for Db2 Performance Expert on z/OS accounting report, this information is reported in the PAGE LATCH field.
Global lock suspension
Global transaction locks are used in data sharing environments. Their scope includes the entire data sharing group.
For more information, see: