+ROLLUP


The +ROLLUP parameter specifies whether to roll up statistics when statistics are gathered for a subset of the partitions and some other partitions have no statistics. If you specify YES, the statistics for the partitions being processed in the utility are gathered from the utility and summed with the statistics from the Db2 Catalog for partitions not being processed.

ROLLUP.png

Operands

YES

(Default) Roll up statistics even though some partitions might not have statistics available

NO

Only roll up statistics if statistics are available for all partitions.

DEFAULT

Uses the zparm STATROLL to indicate whether to force the roll up of statistics

Important

If you specify DEFAULT causing the value to be set from the Db2 ZPARM STATROLL, the message NGTT045 is issued.

Example

+ROLLUP(YES)

Force the rollup of statistics even if some partitions have no statistics.

Important

For the rules that apply to parameter syntax, see Parameter syntax rules.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*