Movatterモバイル変換


[0]ホーム

URL:



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

52.51. pg_statistic_ext

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

Table 52.51. pg_statistic_ext Columns

NameTypeReferencesDescription
stxrelidoidpg_class.oidTable containing the columns described by this object
stxnamename Name of the statistics object
stxnamespaceoidpg_namespace.oid The OID of the namespace that contains this statistics object
stxowneroidpg_authid.oidOwner of the statistics object
stxkeysint2vectorpg_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
stxndistinctpg_ndistinct  N-distinct counts, serialized aspg_ndistinct type
stxdependenciespg_dependencies  Functional dependency statistics, serialized aspg_dependencies type

Thestxkind field is filled at creation of the statistics object, indicating which statistic type(s) are desired. The fields after it are initially NULL and are filled only when the corresponding statistic has been computed byANALYZE.


Prev Up Next
52.50. pg_statistic Home 52.52. pg_subscription
epubpdf
Go to PostgreSQL 11
By continuing to browse this website, you agree to the use of cookies. Go toPrivacy Policy.

[8]ページ先頭

©2009-2025 Movatter.jp