DB2BPH – DB2 Daily Buffer Pool Hit Percent

Overview

The DB2BPH query produces a daily chart. The chart shows the total Get Page Requests for each buffer pool and the percentage of requests that were satisfied from the buffer pool (hits). The hit percentage is displayed using vertical bars and the total Get Page Requests are shown using a horizontal line.

The example shows the daily chart generated for DB2 Region DXP1 running on SYSID W29W. Buffer pool 31 had the greatest number of Get Page Requests (62,489) with a buffer pool hit percentage of 82.3 percent.

Uses

This query is useful to identify buffer pools that are not large enough to hold frequently requested data. When requested data is not in the buffer pool, the data must be acquired by reading from DASD, degrading transaction response time. Analyze buffer pools with low hit percentages to determine if changes can be made to improve transaction performance.

Data Extracts

DB2 Daily Buffer Pool Hit Percent

Left Y-axis

BPHIT – Buffer Pool Hit Percent

Right Y-axis

DBUGPGR – Get Page Requests

X-axis

DB2PID – Buffer Pool ID

Query Defaults

Modifications

The following modifications can be made to the DB2BPH query:

Note: This query charts a nonessential data element: DBUDPF (No. Times Dynamic Prefetch Req). If this data element is not active in your DBPDBU file, the query will not fail, but the computed value for buffer hit ratio may be understated. You can ask your CA MICS administrator to check and see if this data element is active. If not, it can be activated by changing the element definition in sharedprefix.MICS.GENLIB(DB2GENIN) from NAMX to NAME and then running the sharedprefix.MICS.CNTL(DB2CGEN) job. After this element is activated, refresh the Q&R Meta Database.