52.52. pg_statistic_ext
pg_statistic_ext
The catalog pg_statistic_ext holds definitions of extended planner statistics.
Each row in this catalog corresponds to a statistics object created with CREATE STATISTICS.
Column Type Description |
|---|
oid Row identifier |
stxrelid Table containing the columns described by this object |
stxname Name of the statistics object |
stxnamespace The OID of the namespace that contains this statistics object |
stxowner Owner of the statistics object |
stxkeys An array of attribute numbers, indicating which table columns are covered by this statistics object; for example a value of |
stxstattarget stxstattarget controls the level of detail of statistics accumulated for this statistics object by |
stxkind An array containing codes for the enabled statistics kinds; valid values are: |
stxexprs Expression trees (in |
: pg_statistic_ext Columns
The pg_statistic_ext entry is filled in completely during CREATE STATISTICS, but the actual statistical values are not computed then. Subsequent ANALYZE commands compute the desired values and populate an entry in the pg_statistic_ext_data catalog.