Responsive Systems Company

BufferPool Performance Analysis Beyond the Basic Hit Ratio.....

BufferPool Performance Analysis Beyond the Basic Hit Ratio.....

7280+QW0198 DSECT

7282+QW0198DB DS H DATABASE ID

7283+QW0198OB DS H PAGESET OBID

7284+QW0198BP DS X BUFFERPOOL ID

7285+QW0198FC DS C FUNCTION CODE

7287+QW0198GP EQU C'G' GET PAGE REQUEST

7288+QW0198SW EQU C'S' SET WRITE INTENT REQUEST

7289+QW0198RP EQU C'R' RELEASE PAGE REQUEST

7291+QW0198PS DS C PAGE STATUS IN BUFFER POOL

7292+* APPLICABLE ONLY WHEN QW0198FC = 'G'.

7293+* QW0198PS=X'00' WHEN QW0198FC='S' OR 'R'

7295+QW0198H EQU C'H' PAGE HIT IN BUFFERPOOL

7296+QW0198M EQU C'M' PAGE MISSED IN BUFFERPOOL

7297+QW0198N EQU C'N' NOREAD REQUEST

7299+QW0198AT DS C ACCESS TYPE - QW1098AT IS

7300+* NOT APPLICABLE WHEN QW0198FC = 'S'

7301+* QW0198AT = X'00' WHEN QW0198FC = 'S'

7302+* **..............QW0198AT CONSTANTS...............................**

7303+QW0198SQ EQU C'S' SEQUENTIAL ACCESS (GET PAGE)

7304+QW0198RN EQU C'R' RANDOM ACCESS (GET PAGE)

7305+QW0198RL EQU C'L' RIDLIST ACCESS (GET PAGE)

7306+QW0198SR EQU C'N' STANDARD REQUEST (RELEASE PAGE)

7307+QW0198DR EQU C'D' DESTRUCTIVE REQUEST (RELEASE PAGE)

7308+QW0198MR EQU C'M' MRU SCHEME APPLIED (RELEASE PAGE)

7310+QW0198PN DS F PAGE NUMBER

7312+QW0198AC DS A ACE ADDRESS

Previous slide Next slide Back to the first slide View Graphic Version

Notes:

The 198 record provides most of the access information we need, with the exception of Dynamic Prefetch activity. It doesn’t tell us about read activity, or how many pages were actually brought in by a prefetch read.

It is quite important to understand that the first Getpage (GP) for a prefetched block could be ‘miss’, but the next 31 will absolutely be hits. This creates, at worst, an application hit ratio of 97%. It also doesn't tell us how long the application might have waited for the prefetch to complete. For our purposes in this presentation we are not concerned with I/O wait or elapsed times, although can easily be calculated from the 6 & 7 records.

Note the DBID and OBID in this record and the next two records. This must be translated to a NAME for it to make sense. Therefore, we also need a ‘105’ trace record, or must query the catalog to match the trace records to a useful object name.