Writer instructions | |
---|---|
Page title | For most spaces, this page must be titled Space announcements. For spaces with localized content, this page must be titled Space announcements l10n. |
Purpose | Provide an announcement banner on every page of your space. |
Location | Move this page outside of your home branch. |
Guidelines |
NGTSTATS syntax
This topic describes the NGTSTATS syntax statement and its options. An option block indicates that there is a separate section for that option following the main syntax diagram.
NGTSTATS | Keyword that begins the statistics collection statement.
| |||||
---|---|---|---|---|---|---|
OBJECTSET objectSetName | Specifies the name of an existing object set. For more information, see the chapter about using object sets in the Using object setstopic. | |||||
EXCLUDE TABLESPACE | Indicates an object to be excluded from processing. You can use either a specific qualified table space name (databaseName.tableSpaceName) or use wildcards (databasePattern.tablespacePattern):
|
Statistics specification block
TABLE(ALL) | (optional) BMC AMI Stats collects statistics for all tables in the table space. BMC AMI Stats collects statistics for all tables by default, even if you omit TABLE(ALL). Collecting statistics for only specific tables is not an option. | ||||||
COLUMN | (optional) BMC AMI Stats collects statistics for index columns. If you omit COLUMN, BMC AMI Stats collects statistics only for the first key column for each index.
| ||||||
COLGROUP specification block | |||||||
INDEX(ALL) or INDEXES(ALL) | (optional) BMC AMI Stats collects statistics for all indexes by default, even if you omit INDEX(ALL) or INDEXES(ALL). Collecting statistics for only specific indexes is not an option. | ||||||
Distributed options specification block | |||||||
Common options syntax |
TABLE(ALL) | (optional) BMC AMI Stats collects statistics for all tables in the table space. BMC AMI Stats collects statistics for all tables by default, even if you omit TABLE(ALL). Collecting statistics for only specific tables is not an option. | ||||||
COLUMN | (optional) BMC AMI Stats collects statistics for index columns. If you omit COLUMN, BMC AMI Stats collects statistics only for the first key column for each index.
| ||||||
INDEX(ALL) or INDEXES(ALL) | (optional) BMC AMI Stats collects statistics for all indexes by default, even if you omit INDEX(ALL) or INDEXES(ALL). Collecting statistics for only specific indexes is not an option. | ||||||
Distributed options specification block | |||||||
Common options syntax |
TABLE(ALL) | (optional) BMC AMI Stats collects statistics for all tables in the table space. BMC AMI Stats collects statistics for all tables by default, even if you omit TABLE(ALL). Collecting statistics for only specific tables is not an option. |
COLUMN(ALL) | (optional) BMC AMI Stats collects statistics for all index columns. Omitting COLUMN(ALL) collects statistics only for the first key column for each index. |
INDEX(ALL) or INDEXES(ALL) | (optional) BMC AMI Stats collects statistics for all indexes by default, even if you omit INDEX(ALL) or INDEXES(ALL). Collecting statistics for only specific indexes is not an option. |
Distributed options specification block | |
Common options syntax |
COLGROUP specification block (PTF BQU2620 applied)
COLGROUP | COLGROUP indicates that the specified columns are to be treated as a group. BMC AMI Stats collects correlation statistics for the specified columns. Restrictions
| ||
FREQVAL COUNT (numberValues) [MOST|LEAST|BOTH] | FREQVAL is specified for each COLGROUP to collect frequency data on the COLGROUP. The following additional considerations apply:
The parameters associated with KEYCARD do not apply to COLGROUP. |
Distributed options syntax block
KEYCARD FREQVAL NUMCOLS numberColumns COUNT numberValues [MOST|LEAST|BOTH] | BMC AMI Stats collects and posts statistics as follows:
| ||||
TBCOLFREQ | BMC AMI Stats collects single column frequency statistics for all or a list of table columns by reading the table space. When you specify TBCOLFREQ, the KEYCARD FREQVAL COUNT, MOST, LEAST, and BOTH values apply to data collection. |
KEYCARD FREQVAL NUMCOLS numberColumns COUNT numberValues [MOST|LEAST|BOTH] | BMC AMI Stats collects and posts statistics as follows:
|
Reset specification block
RESET ACCESSPATH | Resets the access-path statistics for the tables and indexes This keyword does not affect real-time statistics or space-related statistics. If you specify RESET ACCESSPATH, you cannot specify any other keywords for collecting specific statistics. |
HISTORY ACCESSPATH | Inserts rows into SYSTABLES and SYSINDEXES for each affected object after BMC AMI Stats resets statistics via RESET ACCESSPATH |