PG_EXT_STATS
PG_EXT_STATS allows for access to extension statistics stored in the PG_STATISTIC_EXT system catalog. The extension statistics means multiple columns of statistics.
Table 1 PG_EXT_STATS columns
PG_NAMESPACE.nspname |
|||
PG_CLASS.relname |
|||
PG_STATISTIC_EXT.stakey |
|||
Includes inherited sub-columns if the value is true; otherwise, it indicates the column in a specified table. |
|||
Percentage of column combinations that are null to all records |
|||
|
|||
Number of unique not-null data values in the dn1 column combination
|
|||
List of the most common values in a column combination. If this combination does not have the most common values, most_common_vals will be NULL. None of the most common values in most_common_vals is NULL. |
|||
List of the frequencies of the most common values, that is, the number of occurrences of each value divided by the total number of rows (NULL if most_common_vals is NULL) |
|||
List of the most common values in a column combination. If this combination does not have the most common values, most_common_vals_null will be NULL. At least one of the common values in most_common_vals_null is NULL. |
|||
List of the frequencies of the most common values, that is, the number of occurrences of each value divided by the total number of rows (NULL if most_common_vals_null is NULL) |
|||