diff --git a/gpdb-doc/dita/admin_guide/workload_mgmt_resgroups.xml b/gpdb-doc/dita/admin_guide/workload_mgmt_resgroups.xml index 8ca70c613631ccfd615f07ffb9942294a17c84cf..9fc19d34d78dfe452b0df725409a7f4f01fc21ea 100644 --- a/gpdb-doc/dita/admin_guide/workload_mgmt_resgroups.xml +++ b/gpdb-doc/dita/admin_guide/workload_mgmt_resgroups.xml @@ -91,8 +91,7 @@
Spill to Disk

MEMORY_SPILL_RATIO identifies the memory usage threshold for memory-intensive operators in a transaction. When the transaction reaches this memory threshold, it spills to disk. Greenplum Database uses the MEMORY_SPILL_RATIO to determine the initial memory to allocate to a transaction.

-

The minimum MEMORY_SPILL_RATIO percentage you can specify for a resource group is 1. The maximum is 100. The upper limit of this ratio is (100 - MEMORY_SHARED_QUOTA). The default MEMORY_SPILL_RATIO is 20.

-

The sum of MEMORY_SHARED_QUOTA and MEMORY_SPILL_RATIO must not exceed 100.

+

The minimum MEMORY_SPILL_RATIO percentage you can specify for a resource group is 0. The maximum is 100. The default MEMORY_SPILL_RATIO is 20.

You define the MEMORY_SPILL_RATIO when you create a resource group. You can selectively set this limit on a per-query basis at the session level with the server configuration parameter.

diff --git a/gpdb-doc/dita/ref_guide/config_params/guc-list.xml b/gpdb-doc/dita/ref_guide/config_params/guc-list.xml index 6a1a8e138c5337013e4afeeccbd085c558fc963d..a8cada497b39c7bb3ebd62dfe40e3125aa106c46 100644 --- a/gpdb-doc/dita/ref_guide/config_params/guc-list.xml +++ b/gpdb-doc/dita/ref_guide/config_params/guc-list.xml @@ -7372,7 +7372,7 @@ - 1 - 100 + 0 - 100 20 master

session

reload

diff --git a/gpdb-doc/dita/ref_guide/sql_commands/ALTER_RESOURCE_GROUP.xml b/gpdb-doc/dita/ref_guide/sql_commands/ALTER_RESOURCE_GROUP.xml index db28db82074a5606b5229331cda3ae987d28acee..679cab7e66c1842977940a5e55fbf885c6483ea5 100644 --- a/gpdb-doc/dita/ref_guide/sql_commands/ALTER_RESOURCE_GROUP.xml +++ b/gpdb-doc/dita/ref_guide/sql_commands/ALTER_RESOURCE_GROUP.xml @@ -72,7 +72,7 @@ MEMORY_SPILL_RATIO integer MEMORY_SPILL_RATIO integer The memory usage threshold for memory-intensive operators in a transaction issued in the resource group. The minimum memory spill ratio percentage for a - resource group is 1. The maximum is 100. The default + resource group is 0. The maximum is 100. The default MEMORY_SPILL_RATIO value is 20. diff --git a/gpdb-doc/dita/ref_guide/sql_commands/CREATE_RESOURCE_GROUP.xml b/gpdb-doc/dita/ref_guide/sql_commands/CREATE_RESOURCE_GROUP.xml index 9c408b66550cceb4a0e78e6abdfd969a727546a6..d0dfc7c7a094fdc9bf686f8339c21ff6a6f56c94 100644 --- a/gpdb-doc/dita/ref_guide/sql_commands/CREATE_RESOURCE_GROUP.xml +++ b/gpdb-doc/dita/ref_guide/sql_commands/CREATE_RESOURCE_GROUP.xml @@ -58,11 +58,11 @@ MEMORY_LIMIT=integer MEMORY_SHARED_QUOTA integer - The quota of shared memory in the resource group. Resource groups with a MEMORY_SHARED_QUOTA threshold set aside a percentage of memory allotted to the resource group to share across transactions. This shared memory is allocated on a first-come, first-served basis as available. A transaction may use none, some, or all of this memory. The minimum memory shared quota percentage you can specify for a resource group is 0. The maximum is 100. The default MEMORY_SHARED_QUOTA value is 20. The sum of the MEMORY_SHARED_QUOTA and MEMORY_SPILL_RATIO values specified for a resource group cannot exceed 100. + The quota of shared memory in the resource group. Resource groups with a MEMORY_SHARED_QUOTA threshold set aside a percentage of memory allotted to the resource group to share across transactions. This shared memory is allocated on a first-come, first-served basis as available. A transaction may use none, some, or all of this memory. The minimum memory shared quota percentage you can specify for a resource group is 0. The maximum is 100. The default MEMORY_SHARED_QUOTA value is 20. MEMORY_SPILL_RATIO integer - The memory usage threshold for memory-intensive operators in a transaction. When the transaction reaches this threshold, it spills to disk. The minimum memory spill ratio percentage you can specify for a resource group is 1. The maximum is 100. The upper limit is (100 - MEMORY_SHARED_QUOTA). The default MEMORY_SPILL_RATIO value is 20. The sum of the MEMORY_SHARED_QUOTA and MEMORY_SPILL_RATIO values specified for a resource group cannot exceed 100. + The memory usage threshold for memory-intensive operators in a transaction. When the transaction reaches this threshold, it spills to disk. The minimum memory spill ratio percentage you can specify for a resource group is 0. The maximum is 100. The default MEMORY_SPILL_RATIO value is 20.