Movatterモバイル変換


[0]ホーム

URL:



Facebook
Postgres Pro
Facebook
Downloads
52.54. pg_statistic_ext
Prev UpChapter 52. System CatalogsHome Next

52.54. pg_statistic_ext

The catalogpg_statistic_ext holds definitions of extended planner statistics. Each row in this catalog corresponds to astatistics object created withCREATE STATISTICS.

Table 52.54. pg_statistic_ext Columns

Column Type

Description

oidoid

Row identifier

stxrelidoid (referencespg_class.oid)

Table containing the columns described by this object

stxnamename

Name of the statistics object

stxnamespaceoid (referencespg_namespace.oid)

The OID of the namespace that contains this statistics object

stxowneroid (referencespg_authid.oid)

Owner of the statistics object

stxstattargetint4

stxstattarget controls the level of detail of statistics accumulated for this statistics object byANALYZE. A zero value indicates that no statistics should be collected. A negative value says to use the maximum of the statistics targets of the referenced columns, if set, or the system default statistics target. Positive values ofstxstattarget determine the target number ofmost common values to collect.

stxkeysint2vector (referencespg_attribute.attnum)

An array of attribute numbers, indicating which table columns are covered by this statistics object; for example a value of1 3 would mean that the first and the third table columns are covered

stxkindchar[]

An array containing codes for the enabled statistics kinds; valid values are:d for n-distinct statistics,f for functional dependency statistics,m for most common values (MCV) list statistics, ande for expression statistics

stxexprspg_node_tree

Expression trees (innodeToString() representation) for statistics object attributes that are not simple column references. This is a list with one element per expression. Null if all statistics object attributes are simple references.


Thepg_statistic_ext entry is filled in completely duringCREATE STATISTICS, but the actual statistical values are not computed then. SubsequentANALYZE commands compute the desired values and populate an entry in thepg_statistic_ext_data catalog.


Prev Up Next
52.53. pg_statistic Home 52.55. pg_statistic_ext_data
pdfepub
Go to Postgres Pro Standard 15
By continuing to browse this website, you agree to the use of cookies. Go toPrivacy Policy.

[8]ページ先頭

©2009-2025 Movatter.jp