DB2 10.5 for Linux, UNIX, and Windows

Minimizing RUNSTATS impact

There are several approaches available to improve RUNSTATS performance.

To minimize the performance impact of this utility: In a partitioned database environment, the RUNSTATS utility collects statistics from a single database partition. If the RUNSTATS command is issued on a database partition on which the table resides, statistics are collected there. If not, statistics are collected on the first database partition in the database partition group for the table. For consistent statistics, ensure that statistics for joined tables are collected from the same database partition.