hash_mem_multiplier
Used to compute the maximum amount of memory that hash-based operations can use. The final limit is determined by multiplying work_mem by hash_mem_multiplier. The default value is 2.0, which makes hash-based operations use twice the usual work_mem base amount. Consider increasing hash_mem_multiplier in environments where spilling by query operations is a regular occurrence, especially when simply increasing work_mem results in memory pressure (memory pressure typically takes the form of intermittent out of memory errors). The default setting of 2.0 is often effective with mixed workloads. Higher settings in the range of 2.0 - 8.0 or more may be effective in environments where work_mem has already been increased to 40MB or more.
英文手册覆盖始于 PostgreSQL 7.4. 来源历史与运行验证各自保留独立版本边界。
当前阅读 PG 18·选择有来源记录的版本
此版本暂无所选语言的定义,以下显示原始英文内容。
- boot val
- 2
- category
- Resource Usage / Memory
- context
- user
- documented
- true
- enumvals
- 未知
- extra desc
- 未知
- lang
- en
- max val
- 1000
- metadata version
- 18
- min val
- 1
- name
- hash_mem_multiplier
- short desc
- Multiple of "work_mem" to use for hash tables.
- source
- pg-settings-source-snapshot
- unit
- 未知
- vartype
- real
版本定义 PG 18
Used to compute the maximum amount of memory that hash-based operations can use. The final limit is determined by multiplying work_mem by hash_mem_multiplier. The default value is 2.0, which makes hash-based operations use twice the usual work_mem base amount. Consider increasing hash_mem_multiplier in environments where spilling by query operations is a regular occurrence, especially when simply increasing work_mem results in memory pressure (memory pressure typically takes the form of intermittent out of memory errors). The default setting of 2.0 is often effective with mixed workloads. Higher settings in the range of 2.0 - 8.0 or more may be effective in environments where work_mem has already been increased to 40MB or more.
比较版本
来源引用
定义来源
center · PostgreSQL 18 · english-manuals:8a68b3e9ae1ef19eef6e644365a0121527f23f03f6783bae1ea6e8c054c381f7
正文语言: en · english-manuals:8a68b3e9ae1ef19eef6e644365a0121527f23f03f6783bae1ea6e8c054c381f7