From acf99aec4f93955caf748654628fa0bec903ec03 Mon Sep 17 00:00:00 2001 From: JinghuiWW Date: Wed, 12 Feb 2025 04:45:13 +0000 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9enable=5Fmemory=5Flimit?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E6=8F=8F=E8=BF=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: JinghuiWW --- ...206\205\345\255\230_GUC\345\217\202\346\225\260.md" | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git "a/content/zh/docs/DatabaseReference/\345\206\205\345\255\230_GUC\345\217\202\346\225\260.md" "b/content/zh/docs/DatabaseReference/\345\206\205\345\255\230_GUC\345\217\202\346\225\260.md" index 6fe64dd5d..78b98675c 100644 --- "a/content/zh/docs/DatabaseReference/\345\206\205\345\255\230_GUC\345\217\202\346\225\260.md" +++ "b/content/zh/docs/DatabaseReference/\345\206\205\345\255\230_GUC\345\217\202\346\225\260.md" @@ -36,16 +36,16 @@ **取值范围**:布尔型 -- on表示启用逻辑内存管理模块。 -- off表示不启用逻辑内存管理模块。 +- true表示启用逻辑内存管理模块。 +- false表示不启用逻辑内存管理模块。 -**默认值**: on +**默认值**: true >![](public_sys-resources/icon-caution.png) **注意:** > ->- 若max\_process\_memory-shared\_buffers-cstore\_buffers-元数据少于2G,openGauss强制把enable\_memory\_limit设置为off。其中元数据是openGauss内部使用的内存和部分并发参数,如max\_connections、thread\_pool\_attr、max\_prepared\_transactions等参数相关。 +>- 为了使 `enable_memory_limit` 参数生效,`max_process_memory` 的值需要设置足够大。若max\_process\_memory-shared\_buffers-cstore\_buffers-元数据少于2G,openGauss强制把enable\_memory\_limit设置为false。其中元数据是openGauss内部使用的内存和部分并发参数,如max\_connections、thread\_pool\_attr、max\_prepared\_transactions等参数相关。 > ->- 当该值为off时,不对数据库使用的内存做限制,在大并发或者复杂查询时,使用内存过多,可能导致操作系统OOM问题。 +>- 当该值为false时,不对数据库使用的内存做限制,在大并发或者复杂查询时,使用内存过多,可能导致操作系统OOM问题。 ## max\_process\_memory -- Gitee From f2e1f3b6677d6ac517d86b67e4fea0e77b09d200 Mon Sep 17 00:00:00 2001 From: JinghuiWW Date: Wed, 5 Mar 2025 03:18:00 +0000 Subject: [PATCH 2/2] =?UTF-8?q?update=20content/zh/docs/DatabaseReference/?= =?UTF-8?q?=E5=86=85=E5=AD=98=5FGUC=E5=8F=82=E6=95=B0.md.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: JinghuiWW --- ...206\205\345\255\230_GUC\345\217\202\346\225\260.md" | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git "a/content/zh/docs/DatabaseReference/\345\206\205\345\255\230_GUC\345\217\202\346\225\260.md" "b/content/zh/docs/DatabaseReference/\345\206\205\345\255\230_GUC\345\217\202\346\225\260.md" index 78b98675c..18eba7021 100644 --- "a/content/zh/docs/DatabaseReference/\345\206\205\345\255\230_GUC\345\217\202\346\225\260.md" +++ "b/content/zh/docs/DatabaseReference/\345\206\205\345\255\230_GUC\345\217\202\346\225\260.md" @@ -36,16 +36,16 @@ **取值范围**:布尔型 -- true表示启用逻辑内存管理模块。 -- false表示不启用逻辑内存管理模块。 +- on表示启用逻辑内存管理模块。 +- off表示不启用逻辑内存管理模块。 -**默认值**: true +**默认值**: on >![](public_sys-resources/icon-caution.png) **注意:** > ->- 为了使 `enable_memory_limit` 参数生效,`max_process_memory` 的值需要设置足够大。若max\_process\_memory-shared\_buffers-cstore\_buffers-元数据少于2G,openGauss强制把enable\_memory\_limit设置为false。其中元数据是openGauss内部使用的内存和部分并发参数,如max\_connections、thread\_pool\_attr、max\_prepared\_transactions等参数相关。 +>- 为了使 `enable_memory_limit` 参数生效,`max_process_memory` 的值需要设置足够大。若max\_process\_memory-shared\_buffers-cstore\_buffers-元数据少于2G,openGauss强制把enable\_memory\_limit设置为off。其中元数据是openGauss内部使用的内存和部分并发参数,如max\_connections、thread\_pool\_attr、max\_prepared\_transactions等参数相关。 > ->- 当该值为false时,不对数据库使用的内存做限制,在大并发或者复杂查询时,使用内存过多,可能导致操作系统OOM问题。 +>- 当该值为off时,不对数据库使用的内存做限制,在大并发或者复杂查询时,使用内存过多,可能导致操作系统OOM问题。 ## max\_process\_memory -- Gitee