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

Commite362f46

Browse files
Doc: Remove obsolete CREATE AGGREGATE note.
The planner is in fact willing to use hash aggregation when work_mem isnot set high enough for everything to fit in memory. This has been thecase since commit1f39bce, which added disk-based hash aggregation.There are a few remaining cases in which hash aggregation is avoided asa matter of policy when the planner surmises that spilling will benecessary. For example, callers of choose_hashed_setop() stillconservatively avoid hash aggregation when spilling is anticipated.That doesn't seem like a good enough reason to mention hash aggregationin this context.Backpatch: 13-, where disk-based hash aggregation was introduced.
1 parenta57c837 commite362f46

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

‎doc/src/sgml/ref/create_aggregate.sgml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -386,10 +386,7 @@ SELECT col FROM tab ORDER BY col USING sortop LIMIT 1;
386386
If this parameter is omitted or is zero, a default estimate is used
387387
based on the <replaceable>state_data_type</replaceable>.
388388
The planner uses this value to estimate the memory required for a
389-
grouped aggregate query. The planner will consider using hash
390-
aggregation for such a query only if the hash table is estimated to fit
391-
in <xref linkend="guc-work-mem"/>; therefore, large values of this
392-
parameter discourage use of hash aggregation.
389+
grouped aggregate query.
393390
</para>
394391
</listitem>
395392
</varlistentry>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp