Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc909bd8

Browse files
committed
Doc: mention that extended stats aren't used for joins
Statistics defined by the CREATE STATISTICS command are only used toassist with the selectivity estimations of base relations, never forjoins. Here we mention this fact in the notes section of the CREATESTATISTICS command.Discussion:https://postgr.es/m/CAApHDvrMuVgDOrmg_EtFDZ=AOovq6EsJNnHH1ddyZ8EqL4yzMw@mail.gmail.comBackpatch-through: 11
1 parentb631182 commitc909bd8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

‎doc/src/sgml/ref/create_statistics.sgml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,12 @@ CREATE STATISTICS [ IF NOT EXISTS ] <replaceable class="parameter">statistics_na
127127
reading it. Once created, however, the ownership of the statistics
128128
object is independent of the underlying table(s).
129129
</para>
130+
131+
<para>
132+
Extended statistics are not currently used by the planner for selectivity
133+
estimations made for table joins. This limitation will likely be removed
134+
in a future version of <productname>PostgreSQL</productname>.
135+
</para>
130136
</refsect1>
131137

132138
<refsect1 id="sql-createstatistics-examples">

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp