select open change scope Open full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

SYSTEM CATALOGS / SYSTEM CATALOGS

pg_statistic_ext_data

Read PG 18 manual ↗

The catalog pg_statistic_ext_data holds data for extended planner statistics defined in pg_statistic_ext.

Kind
System catalogs
Columns in this snapshot
6
Definition source
English manual

Columns 6

ColumnTypeDescription / reference
stxoidoidExtended statistics object containing the definition for this data
pg_statistic_ext.oid
stxdinheritboolIf true, the stats include values from child tables, not just the values in the specified relation
stxdndistinctpg_ndistinctN-distinct counts, serialized as pg_ndistinct type
stxddependenciespg_dependenciesFunctional dependency statistics, serialized as pg_dependencies type
stxdmcvpg_mcv_listMCV (most-common values) list statistics, serialized as pg_mcv_list type
stxdexprpg_statistic[]Per-expression statistics, serialized as an array of pg_statistic type
Column history across versions
Version history 3
  1. PG 14 → 15changed
  2. PG 13 → 14changed
  3. PG 11 → 12added

Definition snapshot: english-manuals:c9fef2023ccbe7767eb5aca2a0a… · English manual source