50.52. pg_statistic_ext_data
The catalogpg_statistic_ext_data holds data for extended planner statistics defined inpg_statistic_ext. Each row in this catalog corresponds to astatistics object created withCREATE STATISTICS.
Likepg_statistic,pg_statistic_ext_data should not be readable by the public, since the contents might be considered sensitive. (Example: most common combinations of values in columns might be quite interesting.)pg_stats_ext is a publicly readable view onpg_statistic_ext_data (after joining withpg_statistic_ext) that only exposes information about those tables and columns that are readable by the current user.
Table 50.52. pg_statistic_ext_data Columns
| Name | Type | References | Description |
|---|---|---|---|
stxoid | oid | | Extended statistic object containing the definition for this data |
stxdndistinct | pg_ndistinct | N-distinct counts, serialized aspg_ndistinct type | |
stxddependencies | pg_dependencies | Functional dependency statistics, serialized aspg_dependencies type | |
stxdmcv | pg_mcv_list | MCV (most-common values) list statistics, serialized aspg_mcv_list type |