
Chapter 6. Custom Database Monitor Analysis 211
QQREST and QQTOTR
We included the QQREST (estimated rows selected) and QQTOTR (total rows in table)
columns to give you an idea of the selectivity of the statement. A great difference between
these two columns is a good indicator that index is a better alternative to a table scan
operation.
QQRID
A table scan operation is uniquely identified by the record ID (QQRID) value of 3000. We
include it as selection criteria in the common table expression tablescans.
QQI6
This column indicates a table scan operation with a cumulative elapsed time in
microseconds for each individual query. Since we use ...