You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hawq.apache.org by hu...@apache.org on 2015/12/14 03:16:15 UTC

incubator-hawq git commit: HAWQ-242. Remove deprecated GUCs related to resource management

Repository: incubator-hawq
Updated Branches:
  refs/heads/master 5be1e7e30 -> 8ac320522


HAWQ-242. Remove deprecated GUCs related to resource management


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

Branch: refs/heads/master
Commit: 8ac320522baf507432d0c5b16b8df29244312785
Parents: 5be1e7e
Author: Ruilong Huo <rh...@pivotal.io>
Authored: Thu Dec 10 00:40:51 2015 -0800
Committer: Ruilong Huo <rh...@pivotal.io>
Committed: Mon Dec 14 10:16:00 2015 +0800

----------------------------------------------------------------------
 src/backend/utils/misc/guc.c                  | 23 ----------------------
 src/backend/utils/misc/postgresql.conf.sample |  8 --------
 src/backend/utils/resscheduler/README         |  3 ---
 3 files changed, 34 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/8ac32052/src/backend/utils/misc/guc.c
----------------------------------------------------------------------
diff --git a/src/backend/utils/misc/guc.c b/src/backend/utils/misc/guc.c
index b82b3cb..16142a6 100644
--- a/src/backend/utils/misc/guc.c
+++ b/src/backend/utils/misc/guc.c
@@ -1476,15 +1476,6 @@ static struct config_bool ConfigureNamesBool[] =
 	},
 
 	{
-		{"stats_queue_level", PGC_SUSET, STATS_COLLECTOR,
-			gettext_noop("Collects resource queue-level statistics on database activity."),
-			NULL
-		},
-		&pgstat_collect_queuelevel,
-		false, NULL, NULL
-	},
-
-	{
 		{"update_process_title", PGC_SUSET, CLIENT_CONN_OTHER,
 			gettext_noop("Updates the process title to show the active SQL command."),
 			gettext_noop("Enables updating of the process title every time a new SQL command is received by the server.")
@@ -5073,20 +5064,6 @@ static struct config_int ConfigureNamesInt[] =
 	},
 
 	{
-		{"gp_vmem_idle_resource_timeout", PGC_USERSET, CLIENT_CONN_OTHER,
-			gettext_noop("Sets the time a session can be idle (in milliseconds) before we release gangs on the segment DBs to free resources."),
-			gettext_noop("A value of 0 turns off the timeout."),
-			GUC_UNIT_MS | GUC_GPDB_ADDOPT
-		},
-		&IdleSessionGangTimeout,
-#ifdef USE_ASSERT_CHECKING
-		600000, 0, INT_MAX, NULL, NULL /* 10 minutes by default on debug builds.*/
-#else
-		18000, 0, INT_MAX, NULL, NULL
-#endif
-	},
-
-	{
 		{"vacuum_freeze_min_age", PGC_USERSET, CLIENT_CONN_STATEMENT,
 			gettext_noop("Minimum age at which VACUUM should freeze a table row."),
 			NULL

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/8ac32052/src/backend/utils/misc/postgresql.conf.sample
----------------------------------------------------------------------
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index acf0d2d..da76e55 100755
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -355,8 +355,6 @@ max_prepared_transactions = 250		# can be 0 or more
 #track_counts = off
 #update_process_title = on
 
-#stats_queue_level = off
-
 
 # - Statistics Monitoring -
 
@@ -432,11 +430,6 @@ log_autostats=off	# print additional autostats information
 # RESOURCE SCHEDULING
 #---------------------------------------------------------------------------
 
-#max_resource_queues = 9		# no. of resource queues to create.
-#max_resource_portals_per_transaction = 64	# no. of portals per backend.
-#resource_select_only = on		# resource lock SELECT queries only.
-#resource_cleanup_gangs_on_wait = on	# Cleanup idle reader gangs before
-										# resource lockwait.
 gp_resqueue_memory_policy = 'eager_free'	# memory request based queueing. 
 									# eager_free, auto or none
 #---------------------------------------------------------------------------
@@ -491,7 +484,6 @@ gp_segment_connect_timeout = 600s
 
 # - Resource limits -
 hawq_re_memory_overcommit_max = 8192  # Maximum quota of memory overcommit (in MB) per HAWQ physical segment in resource enforcement
-#gp_vmem_idle_resource_timeout = 18000 # idle-time before gang-release, in milliseconds (zero disables release).
 
 #------------------------------------------------------------------------------
 # CUSTOMIZED OPTIONS

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/8ac32052/src/backend/utils/resscheduler/README
----------------------------------------------------------------------
diff --git a/src/backend/utils/resscheduler/README b/src/backend/utils/resscheduler/README
index 4f7c042..e4a5611 100644
--- a/src/backend/utils/resscheduler/README
+++ b/src/backend/utils/resscheduler/README
@@ -163,9 +163,6 @@ Admin
 Some new GUCs are introduced to control the scheduler:
 
 #resource_scheduler = off         # enable resource scheduling
-#max_resource_queues = 8          # no. of resource queues to create.
-#max_resource_portals_per_transaction = 64  # no. of portals per backend.
-#resource_select_only = on        # resource lock SELECT queries only.
 
 
 Some new commands are added and others amended to allow administration of the