Running index statistics
Use the Index Statistics window to update the catalog's information about
index usage.
Authorities and privileges
To run index statistics:
-
Open
the Index Statistics window.
-
On the Option pages, specify how the utility runs.
-
On the Indexes pages, specify partition properties.
-
Click OK.
Related information
Specifying how the utility runs
To specify statistics options on the Options page:
-
Specify a Share level
-
Reference only
-
Allows read-only access to other applications while the utility is running.
-
Allow changes
-
Allows write access to other applications while the utility is running.
This setting can allow uncommitted data to be collected in the statistical
report.
-
Specify Yes or No in the Report statistics radio buttons.
Specifying Yes indicates that a set of messages is sent to the SYSPRINT
data set.
-
Specify how you want the utility to update
the DB2 catalog:
-
Access path and space statistics
-
The utility updates all the statistics.
-
Access path statistics only
-
The utility updates only the catalog tables used for access path selection.
-
Space statistics only
-
The utility updates only the catalog that provide statistics to help database
administrators assess the status of a space or index.
Specifying partition properties
To specify partition options on the Indexes page:
-
Select an index from the table.
-
To collect statistics on individual partitions, specify the Individual
radio button.
-
Select partition numbers from the Available partitions list.