You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hawq.apache.org by yj...@apache.org on 2015/11/02 03:55:45 UTC

incubator-hawq git commit: HAWQ-114. Set resource queue default parallel limit to 20

Repository: incubator-hawq
Updated Branches:
  refs/heads/master f5c80cb75 -> 85884fc0d


HAWQ-114. Set resource queue default parallel limit to 20


Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq/commit/85884fc0
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/85884fc0
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/85884fc0

Branch: refs/heads/master
Commit: 85884fc0d52c2609d1eacb3709e9b3a24bca5796
Parents: f5c80cb
Author: Yi Jin <yj...@pivotal.io>
Authored: Mon Nov 2 10:55:37 2015 +0800
Committer: Yi Jin <yj...@pivotal.io>
Committed: Mon Nov 2 10:55:37 2015 +0800

----------------------------------------------------------------------
 src/include/catalog/pg_resqueue.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/85884fc0/src/include/catalog/pg_resqueue.h
----------------------------------------------------------------------
diff --git a/src/include/catalog/pg_resqueue.h b/src/include/catalog/pg_resqueue.h
index 38bb6a6..77bc059 100644
--- a/src/include/catalog/pg_resqueue.h
+++ b/src/include/catalog/pg_resqueue.h
@@ -143,7 +143,7 @@ typedef FormData_pg_resqueue *Form_pg_resqueue;
 
 /* Create initial default resource queue */
 DATA(insert OID = 9800 ( "pg_root"    0      "-1"    "100%" "100%" 2 "even" _null_      0 0 0 1 _null_ _null_ "branch"));
-DATA(insert OID = 6055 ( "pg_default" 9800   "100"   "50%"  "50%"  2 "even" "mem:128mb" 0 0 0 1 _null_ _null_ _null_));
+DATA(insert OID = 6055 ( "pg_default" 9800   "20"    "50%"  "50%"  2 "even" "mem:128mb" 0 0 0 1 _null_ _null_ _null_));
 
 /*
  * The possible resource allocation policies.
@@ -154,7 +154,7 @@ enum RESOURCE_QUEUE_ALLOCATION_POLICY_INDEX {
 	RSQ_ALLOCATION_POLICY_COUNT
 };
 
-#define DEFAULT_RESQUEUE_ACTIVESTATS					"100"
+#define DEFAULT_RESQUEUE_ACTIVESTATS					"20"
 #define DEFAULT_RESQUEUE_OVERCOMMIT						"2"
 #define DEFAULT_RESQUEUE_NVSEG_UPPER_LIMIT				"0"
 #define DEFAULT_RESQUEUE_NVSEG_LOWER_LIMIT				"0"
@@ -164,7 +164,7 @@ enum RESOURCE_QUEUE_ALLOCATION_POLICY_INDEX {
 #define DEFAULT_RESQUEUE_ALLOCPOLICY             		"even"
 #define DEFAULT_RESQUEUE_VSEGRESOURCEQUOTA		    	"mem:128mb"
 
-#define DEFAULT_RESQUEUE_ACTIVESTATS_N					100
+#define DEFAULT_RESQUEUE_ACTIVESTATS_N					20
 #define DEFAULT_RESQUEUE_OVERCOMMIT_N					2.0
 #define DEFAULT_RESQUEUE_NVSEG_UPPER_LIMIT_N			0
 #define DEFAULT_RESQUEUE_NVSEG_LOWER_LIMIT_N			0