SYSKEYTARGETSTATS catalog table
The SYSKEYTARGETSTATS table contains partition statistics for selected key-targets. For each key-target, a row exists for each partition in the table.
Rows are inserted when RUNSTATS collects indexed key statistics or non-indexed key statistics for a partitioned table space. No row is inserted if the table space is nonpartitioned. Rows in this table can be inserted, updated, and deleted.
Column name | Data type | Description | Use |
---|---|---|---|
IXSCHEMA |
VARCHAR(128)
NOT NULL |
The qualifier of the index. | G |
IXNAME |
VARCHAR(128)
NOT NULL |
The name of the index. | G |
KEYSEQ |
SMALLINT
NOT NULL |
Numeric position of the key-target in the index. | G |
HIGHKEY |
VARCHAR(2000)
NOT NULL WITH DEFAULT FOR BIT DATA |
The highest key value. | S |
HIGH2KEY |
VARCHAR(2000)
NOT NULL WITH DEFAULT FOR BIT DATA |
The second highest key-value. | S |
LOWKEY |
VARCHAR(2000)
NOT NULL WITH DEFAULT FOR BIT DATA |
The lowest key value. | S |
LOW2KEY |
VARCHAR(2000)
NOT NULL WITH DEFAULT FOR BIT DATA |
The second lowest key-value. | S |
PARTITION |
SMALLINT
NOT NULL |
The partition number of the table space. | G |
— |
VARCHAR(1000)
NOT NULL WITH DEFAULT FOR BIT DATA |
Internal use only. | I |
STATSTIME |
TIMESTAMP
NOT NULL WITH DEFAULT |
|
G |
IBMREQD |
CHAR(1)
NOT NULL |
A value of Y indicates that the row was provided with the Db2 product code. For all other values, see Release dependency indicators. The value in this field is not a reliable indicator of release dependencies. |
G |
STATS_FORMAT |
CHAR(1)
NOT NULL WITH DEFAULT |
The type of statistics that are gathered:
|
G |
CARDF |
FLOAT
NOT NULL WITH DEFAULT -1 |
Number of distinct values for the key target. | S |