From e397112dc37dbb2670fbd2cd321ed62158bb9105 Mon Sep 17 00:00:00 2001 From: Lisa Owen Date: Tue, 26 Sep 2017 09:36:23 -0700 Subject: [PATCH] docs - resgroup concurrency can be 0 but not for admin_group (#3358) --- gpdb-doc/dita/admin_guide/workload_mgmt_resgroups.xml | 1 + gpdb-doc/dita/ref_guide/sql_commands/ALTER_RESOURCE_GROUP.xml | 3 ++- gpdb-doc/dita/ref_guide/sql_commands/CREATE_RESOURCE_GROUP.xml | 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gpdb-doc/dita/admin_guide/workload_mgmt_resgroups.xml b/gpdb-doc/dita/admin_guide/workload_mgmt_resgroups.xml index b55f739037..8ca70c6136 100644 --- a/gpdb-doc/dita/admin_guide/workload_mgmt_resgroups.xml +++ b/gpdb-doc/dita/admin_guide/workload_mgmt_resgroups.xml @@ -255,6 +255,7 @@ gpstart =# ALTER RESOURCE GROUP exec SET MEMORY_LIMIT 25;

+ You cannot set or alter the CONCURRENCY value for the admin_group to zero (0).

The command drops a resource group. To drop a resource group, the group cannot be assigned to any role, nor can there be any transactions active or waiting in the resource group. To drop a resource group:

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 1275817b4a..db28db8207 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 @@ -41,8 +41,9 @@ MEMORY_SPILL_RATIO integer reached are queued. When a running transaction completes, the earliest queued transaction is executed. The CONCURRENCY value - must be an integer in the range [1 .. max_connections]. The default + must be an integer in the range [0 .. max_connections]. The default CONCURRENCY value is 20. + You cannot set the CONCURRENCY value for the admin_group to zero (0). CPU_RATE_LIMIT integer 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 48e81cabd7..9c408b6655 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 @@ -43,8 +43,9 @@ MEMORY_LIMIT=integer CONCURRENCY integer - The maximum number of concurrent transactions, including active and idle transactions, that are permitted for this resource group. The CONCURRENCY value must be an integer in the range [1 .. max_connections]. The default CONCURRENCY value is 20. + The maximum number of concurrent transactions, including active and idle transactions, that are permitted for this resource group. The CONCURRENCY value must be an integer in the range [0 .. max_connections]. The default CONCURRENCY value is 20. + You cannot set the CONCURRENCY value for the admin_group to zero (0). CPU_RATE_LIMIT integer -- GitLab