hawq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From y...@apache.org
Subject incubator-hawq git commit: HAWQ-371. Change seg_max_statements default value to 1280
Date Mon, 01 Feb 2016 02:15:30 GMT
Repository: incubator-hawq
Updated Branches:
  refs/heads/master 036c7352a -> 1df52b663


HAWQ-371. Change seg_max_statements default value to 1280


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

Branch: refs/heads/master
Commit: 1df52b663083d6ada4b268b9de90ad9b5c82af88
Parents: 036c735
Author: YI JIN <yjin@pivotal.io>
Authored: Mon Feb 1 13:11:45 2016 +1100
Committer: YI JIN <yjin@pivotal.io>
Committed: Mon Feb 1 13:11:45 2016 +1100

----------------------------------------------------------------------
 src/backend/utils/init/globals.c | 2 +-
 src/backend/utils/misc/guc.c     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/1df52b66/src/backend/utils/init/globals.c
----------------------------------------------------------------------
diff --git a/src/backend/utils/init/globals.c b/src/backend/utils/init/globals.c
index a7202ae..8234a20 100644
--- a/src/backend/utils/init/globals.c
+++ b/src/backend/utils/init/globals.c
@@ -116,7 +116,7 @@ int			maintenance_work_mem = 65536;
 /* Primary determinants of sizes of shared-memory structures: */
 int			NBuffers = 4096;
 int			MaxBackends = 200;
-int			SegMaxBackends = 4800;
+int			SegMaxBackends = 1280;
 
 int			gp_workfile_max_entries = 8192; /* Number of unique entries we can hold in the workfile
directory */
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/1df52b66/src/backend/utils/misc/guc.c
----------------------------------------------------------------------
diff --git a/src/backend/utils/misc/guc.c b/src/backend/utils/misc/guc.c
index ceb378c..db2ecf2 100644
--- a/src/backend/utils/misc/guc.c
+++ b/src/backend/utils/misc/guc.c
@@ -4628,7 +4628,7 @@ static struct config_int ConfigureNamesInt[] =
 			NULL
 		},
 		&SegMaxBackends,
-		4800, 240, MAX_MAX_BACKENDS, NULL, NULL
+		1280, 240, MAX_MAX_BACKENDS, NULL, NULL
 	},
 
 	{


Mime
View raw message