Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jYce9-00079V-N5 for pgsql-docs@arkaria.postgresql.org; Tue, 12 May 2020 21:41:05 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jYce8-0005b5-Il for pgsql-docs@arkaria.postgresql.org; Tue, 12 May 2020 21:41:04 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jYce8-0005ax-DL for pgsql-docs@lists.postgresql.org; Tue, 12 May 2020 21:41:04 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jYce6-00040y-4m for pgsql-docs@lists.postgresql.org; Tue, 12 May 2020 21:41:03 +0000 Received: from bruce by momjian.us with local (Exim 4.92) (envelope-from ) id 1jYce5-0007K0-JO; Tue, 12 May 2020 17:41:01 -0400 Date: Tue, 12 May 2020 17:41:01 -0400 From: Bruce Momjian To: yigongh@gmail.com, pgsql-docs@lists.postgresql.org Subject: Re: The suggestion of reducing autovacuum_vacuum_cost_delay should be documented Message-ID: <20200512214101.GA21408@momjian.us> References: <158927918783.656.11973436145559215458@wrigleys.postgresql.org> <20200512214014.GD4666@momjian.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200512214014.GD4666@momjian.us> User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Tue, May 12, 2020 at 05:40:14PM -0400, Bruce Momjian wrote: > On Tue, May 12, 2020 at 10:26:27AM +0000, PG Doc comments form wrote: > > The following documentation comment has been logged on the website: > > > > Page: https://www.postgresql.org/docs/11/runtime-config-autovacuum.html > > Description: > > > > The `autovacuum_vacuum_cost_delay` setting changes to 2ms in PostgreSQL 12 > > but in the old Postgresql version, the default setting is still 20ms. I > > would suggest adding a suggestion in the old document > > to lower the autovacuum_vacuum_cost_delay as: > > > > > The default value of autovacuum_vacuum_cost_delay is reduced to 2ms in > > PostgreSQL 12. Reducing the autovacuum_vacuum_cost_delay will make the > > autovacuum more aggressive and might reduce the vacuum cost for > > write-intensive workload on big table. > > Uh, we usually don't suggest new defaults in back branches. Basically, what I am saying is that if you want this, it would be a new behavior that would need general discussion. -- Bruce Momjian https://momjian.us EnterpriseDB https://enterprisedb.com + As you are, so once was I. As I am, so you will be. + + Ancient Roman grave inscription +