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 1o5tvY-0000eJ-RR for pgsql-committers@arkaria.postgresql.org; Mon, 27 Jun 2022 18:57:40 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1o5tvX-0003Mr-0I for pgsql-committers@arkaria.postgresql.org; Mon, 27 Jun 2022 18:57:39 +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 1o5tvW-0003MS-Ph for pgsql-committers@lists.postgresql.org; Mon, 27 Jun 2022 18:57:38 +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 1o5tvU-0003vH-Ch for pgsql-committers@lists.postgresql.org; Mon, 27 Jun 2022 18:57:37 +0000 Received: from bruce by momjian.us with local (Exim 4.94.2) (envelope-from ) id 1o5tvS-006mNk-JV; Mon, 27 Jun 2022 14:57:34 -0400 Date: Mon, 27 Jun 2022 14:57:34 -0400 From: Bruce Momjian To: Magnus Hagander Cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Remove outdated recommendation for manual VACUUM Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Mon, Jun 27, 2022 at 05:48:41PM +0000, Magnus Hagander wrote: > Remove outdated recommendation for manual VACUUM > > We have had a working and tunable autovacuum > for at least a decade now, so remove the recommendation to > manually vacuum tables at least every night. > Autovacuum is now also triggered by INSERTs, so we can also > remove the recommendation to run VACUUM (ANALYZE) after lots > of INSERTs or DELETEs. > > Instead, suggest using autovacuum by moving the respective > paragraph up to where the importance of VACUUM is emphasized. > > Author: Laurenz Albe > Reviewed-By: Magnus Hagander, Peter Geoghegan > Discussion: https://postgr.es/m/6f5e3da98fec14640f389d7b84c3b413833697f4.camel@cybertec.at > > Branch > ------ > master > > Details > ------- > https://git.postgresql.org/pg/commitdiff/27f953ea9901c08fb3e4064f9a31e07bc30c1e6d > > Modified Files > -------------- > doc/src/sgml/ref/vacuum.sgml | 20 +++++--------------- > 1 file changed, 5 insertions(+), 15 deletions(-) Uh, shouldn't this doc patch be applied to all major supported Postgres versions? -- Bruce Momjian https://momjian.us EDB https://enterprisedb.com Indecision is a decision. Inaction is an action. Mark Batterson