A tabela SYSTATFEEDBACK contém informações sobre estatísticas de catálogo ausentes ou conflitantes para instruções SQL.
O esquema é SYSIBM.
Os valores a seguir controlam a coleta de dados de feedback de estatísticas na tabela do catálogo SYSSTATFEEDBACK:
| Column name |
Data type |
Description |
Use |
| TBCREATOR |
VARCHAR(128) |
The creator of the table. |
S |
| TBNAME |
VARCHAR(128) |
The name of the table. |
S |
| IXCREATOR |
VARCHAR(128) |
The creator of the index. |
S |
| IXNAME |
VARCHAR(128) |
The name of the index. |
S |
| COLNAME |
VARCHAR(128) |
The name of the column. |
S |
| NUMCOLUMNS |
SMALLINT |
The number of columns in the column group. |
S |
| COLGROUPCOLNO |
VARCHAR(254) FOR BIT DATA |
A hex representation that identifies the set of columns associated with the statistics.
If the statistics are only associated with a single column, the field contains a zero length.
Otherwise, the field is an array of SMALLINT column numbers with a dimension equal to the value in NUMCOLUMNS. |
S |
| TYPE |
CHAR(1) |
The type of statistic to collect:
- 'C'
- Cardinality.
- 'F'
- Frequency.
- 'H'
- Histogram.
- 'I'
- Index.
- 'T'
- Table.
|
I |
| DBNAME |
VARCHAR(24) |
The name of the database. |
S |
| TSNAME |
VARCHAR(24) |
The name of the table space. |
S |
| REASON |
CHAR(8) |
The reason for the statistics collection recommendation:
- 'BASIC'
- A basic statistical value for a column table or index is missing.
- 'CONFLICT'
- Another statistic conflicts with this statistic.
- 'COMPFFIX'
- Multi-column cardinality statistics are needed for an index compound filter factor.
- 'DEFAULT'
- A predicate references a value that is probably a default value.
- 'KEYCARD'
- The cardinalities of index key columns are missing.
- 'LOWCARD'
- The cardinality of the column is a low value, which indicates that data skew is likely.
- 'NULLABLE'
- Distribution statistics are not available for a nullable column.
- 'RANGEPRD'
- Histogram statistics are not available for a range predicate.
- 'PARALLEL'
- Parallelism could be improved by uniform partitioning of key ranges.
- 'STALE'
- A statistic appears likely to be out of sync with other statistics, based on comparison of the time that it was collected to statistics collection times for
related objects.
|
S |
| BLOCK_RUNSTATS |
CHAR(1) |
Whether the row is used when optimization tools collect statistics based on the recommendations.
Db2 inserts a blank value in this column for all new rows.
Db2 does not refer to or change the value of this column.
This is an updatable column. |
S |
| REMARKS |
VARCHAR(254) |
Free form text for extensibility. |
S |
| LASTDATE |
DATE |
The last date that this statistics recommendation was updated by Db2. |
S |