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

Commit2ef5c5e

Browse files
committed
doc: clarify the effect of concurrent work_mem allocations
Reported-by: Sami ImseihDiscussion:https://postgr.es/m/66590882-F48C-4A25-83E3-73792CF8C51F@amazon.comBackpatch-through: 11
1 parent430f449 commit2ef5c5e

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

‎doc/src/sgml/config.sgml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1884,9 +1884,10 @@ include_dir 'conf.d'
18841884
(such as a sort or hash table) before writing to temporary disk files.
18851885
If this value is specified without units, it is taken as kilobytes.
18861886
The default value is four megabytes (<literal>4MB</literal>).
1887-
Note that for a complex query, several sort or hash operations might be
1888-
running in parallel; each operation will generally be allowed
1889-
to use as much memory as this value specifies before it starts
1887+
Note that a complex query might perform several sort and hash
1888+
operations at the same time, with each operation generally being
1889+
allowed to use as much memory as this value specifies before
1890+
it starts
18901891
to write data into temporary files. Also, several running
18911892
sessions could be doing such operations concurrently.
18921893
Therefore, the total memory used could be many times the value
@@ -1900,7 +1901,7 @@ include_dir 'conf.d'
19001901
<para>
19011902
Hash-based operations are generally more sensitive to memory
19021903
availability than equivalent sort-based operations. The
1903-
memoryavailable for hashtables is computed by multiplying
1904+
memorylimit forahashtable is computed by multiplying
19041905
<varname>work_mem</varname> by
19051906
<varname>hash_mem_multiplier</varname>. This makes it
19061907
possible for hash-based operations to use an amount of memory

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp