How Averages Are Calculated

Accounting reports show times and events averaged over the number of threads whilst Accounting traces show times and events as totals for each thread.

Fields in an Accounting report can show:
  • Averages presented with two decimal places behind the point.
  • Totals presented as whole numbers. If it is not possible to distinguish the type of data, totals are indicated with a hash (#) as the first character in the label.
  • Times presented with six decimal places behind the point.
Averages are calculated by dividing totals by QPACRLNU, which is the number of threads to roll data into this QPAC data section.
Average = Total of package counter or time (QPACxxxx)
	       / Number of threads that roll data into this QPAC data section (QPACRLNU)   
This applies to package class 7, 8, or 10 times and events: For more information refer to the Accounting trace sections for a package.

Averages of plan level counters in repeating data sections are calculated by dividing totals by the number of data sections which are aggregated to produce the report entry (this includes the DDF and RLF count).

Averages of buffer pool counters are calculated on a per-record basis.