Overview of BMC AMI Stats
- Statistics for table spaces, tables, and indexes
- Column statistics for columns
- Distributed statistics for columns
NGTSTATS is delivered with +FREQ(NONE) as the default in the configuration file. This default prevents NGTSTATS from collecting frequency distribution statistics on the indexes. IBM RUNSTATS defaults to collect frequency distribution statistics on the first key of each index, which defaults to FREQVAL NUMCOLS(1) COUNT(10) MOST.
Following are methods for making NGTSTATS collect the frequency distribution statistics in the same way as IBM RUNSTATS:
- Change +FREQ(NONE) to +FREQ(MOST) in the configuration file. Because NUMCOLS defaults to 1 and COUNT defaults to 10, this change causes NGTSTATS to capture the same frequency distribution data as IBM RUNSTATS. Changing the configuration file causes these parameters to apply to NGTREORG and NGTLOAD.
- Provide the following parameters in the STTPARMS DD:
+FREQ(MOST)
+NUMCOLS(1)
+COUNT(10)
Using these parameters, you can collect frequency distribution statistics without specifying KEYCARD FREQVAL NUMCOLS 1 COUNT 10 MOST. - Specify “KEYCARD FREQVAL NUMCOLS 1 COUNT 10 MOST”.
You can use BMC AMI Stats with BMC AMI Utility Manager.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*