Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dP2Ns-0005om-JF for pgsql-admin@arkaria.postgresql.org; Sun, 25 Jun 2017 07:55:04 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dP2Nr-0003s6-3L for pgsql-admin@arkaria.postgresql.org; Sun, 25 Jun 2017 07:55:03 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dP2M3-0000j5-Fv for pgsql-admin@postgresql.org; Sun, 25 Jun 2017 07:53:11 +0000 Received: from mwork.nabble.com ([162.253.133.43]) by magus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dP2M0-0002aX-1o for pgsql-admin@postgresql.org; Sun, 25 Jun 2017 07:53:10 +0000 Received: from mben.nabble.com (unknown [162.253.133.72]) by mwork.nabble.com (Postfix) with ESMTP id 1E8534D1E6049 for ; Sun, 25 Jun 2017 00:53:06 -0700 (MST) Date: Sun, 25 Jun 2017 00:53:06 -0700 (MST) From: rajan To: pgsql-admin@postgresql.org Message-ID: <1498377186127-5968586.post@n3.nabble.com> Subject: pg9.6 - maintenance_work_mem is disabled in postgresql.conf by running a select query for pg_settings returns it is enabled MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org Hi, maintenance_work_mem is commented in postgresql.conf #maintenance_work_mem = 64MB but the following query, select * from pg_settings where name = 'maintenance_work_mem'; returns the following. Does it means it is enabled? name | maintenance_work_mem setting | 65536 unit | kB category | Resource Usage / Memory short_desc | Sets the maximum memory to be used for maintenance operations. extra_desc | This includes operations such as VACUUM and CREATE INDEX. context | user vartype | integer source | default min_val | 1024 max_val | 2147483647 enumvals | boot_val | 65536 reset_val | 65536 sourcefile | sourceline | pending_restart | f ----- -- Thanks, Rajan. -- View this message in context: http://www.postgresql-archive.org/pg9-6-maintenance-work-mem-is-disabled-in-postgresql-conf-by-running-a-select-query-for-pg-settings-d-tp5968586.html Sent from the PostgreSQL - admin mailing list archive at Nabble.com. -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin