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/12/30 03:13:13 UTC

incubator-hawq git commit: HAWQ-291. Make resource queue default 256mb as virtual segment resource quota

Repository: incubator-hawq
Updated Branches:
  refs/heads/master 8c5bb44f3 -> 641a18a9d


HAWQ-291. Make resource queue default 256mb as virtual segment resource quota


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

Branch: refs/heads/master
Commit: 641a18a9da5dc2a2cf93190f8a02231fc2c836d5
Parents: 8c5bb44
Author: YI JIN <yj...@pivotal.io>
Authored: Wed Dec 30 13:12:55 2015 +1100
Committer: YI JIN <yj...@pivotal.io>
Committed: Wed Dec 30 13:12:55 2015 +1100

----------------------------------------------------------------------
 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/641a18a9/src/include/catalog/pg_resqueue.h
----------------------------------------------------------------------
diff --git a/src/include/catalog/pg_resqueue.h b/src/include/catalog/pg_resqueue.h
index 5e6ec3e..d4e6a01 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 0 _null_ _null_ "branch"));
-DATA(insert OID = 6055 ( "pg_default" 9800   "20"    "50%"  "50%"  2 "even" "mem:128mb" 0 0 0 0 _null_ _null_ _null_));
+DATA(insert OID = 6055 ( "pg_default" 9800   "20"    "50%"  "50%"  2 "even" "mem:256mb" 0 0 0 0 _null_ _null_ _null_));
 
 /*
  * The possible resource allocation policies.
@@ -162,7 +162,7 @@ enum RESOURCE_QUEUE_ALLOCATION_POLICY_INDEX {
 #define DEFAULT_RESQUEUE_NVSEG_LOWER_PERSEG_LIMIT		"0"
 
 #define DEFAULT_RESQUEUE_ALLOCPOLICY             		"even"
-#define DEFAULT_RESQUEUE_VSEGRESOURCEQUOTA		    	"mem:128mb"
+#define DEFAULT_RESQUEUE_VSEGRESOURCEQUOTA		    	"mem:256mb"
 
 #define DEFAULT_RESQUEUE_ACTIVESTATS_N					20
 #define DEFAULT_RESQUEUE_OVERCOMMIT_N					2.0
@@ -172,7 +172,7 @@ enum RESOURCE_QUEUE_ALLOCATION_POLICY_INDEX {
 #define DEFAULT_RESQUEUE_NVSEG_LOWER_PERSEG_LIMIT_N		0.0
 
 #define DEFAULT_RESQUEUE_ALLOCPOLICY_N					RSQ_ALLOCATION_POLICY_EVEN
-#define DEFAULT_RESQUEUE_VSEGRESOURCEQUOTA_N			128
+#define DEFAULT_RESQUEUE_VSEGRESOURCEQUOTA_N			256
 
 #define MINIMUM_RESQUEUE_ACTIVESTATS					"1"
 #define MINIMUM_RESQUEUE_OVERCOMMIT						"1"