|
|
BufferPool Performance Analysis Beyond the Basic Hit Ratio.....BufferPool Performance Analysis Beyond the Basic Hit Ratio.....7280+QW0198 DSECT7282+QW0198DB DS H DATABASE ID7283+QW0198OB DS H PAGESET OBID7284+QW0198BP DS X BUFFERPOOL ID7285+QW0198FC DS C FUNCTION CODE7287+QW0198GP EQU C'G' GET PAGE REQUEST7288+QW0198SW EQU C'S' SET WRITE INTENT REQUEST7289+QW0198RP EQU C'R' RELEASE PAGE REQUEST7291+QW0198PS DS C PAGE STATUS IN BUFFER POOL7292+* APPLICABLE ONLY WHEN QW0198FC = 'G'.7293+* QW0198PS=X'00' WHEN QW0198FC='S' OR 'R'7295+QW0198H EQU C'H' PAGE HIT IN BUFFERPOOL7296+QW0198M EQU C'M' PAGE MISSED IN BUFFERPOOL7297+QW0198N EQU C'N' NOREAD REQUEST7299+QW0198AT DS C ACCESS TYPE - QW1098AT IS7300+* 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 NUMBER7312+QW0198AC DS A ACE ADDRESS
Notes:
The 198 record provides most of the access information we need, with the exception of Dynamic Prefetch activity. It doesnt 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.
|