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 1jK9Vw-0005R3-VG for pgsql-hackers@arkaria.postgresql.org; Thu, 02 Apr 2020 23:44:48 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jK9Vv-0005hr-Qh for pgsql-hackers@arkaria.postgresql.org; Thu, 02 Apr 2020 23:44:47 +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 1jK9Vv-0005hk-Ja for pgsql-hackers@lists.postgresql.org; Thu, 02 Apr 2020 23:44:47 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jK9Vt-0004wB-AF for pgsql-hackers@lists.postgresql.org; Thu, 02 Apr 2020 23:44:46 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id 032NiYiS011573; Thu, 2 Apr 2020 19:44:34 -0400 From: Tom Lane To: David Rowley cc: Dean Rasheed , Laurenz Albe , Andres Freund , Alexander Korotkov , Justin Pryzby , Alvaro Herrera , Masahiko Sawada , Tomas Vondra , Amit Kapila , Masahiko Sawada , =?UTF-8?Q?Darafei_Kom=D1=8Fpa_Praliaskouski?= , PostgreSQL Hackers , Michael Banck Subject: Re: Berserk Autovacuum (let's save next Mandrill) In-reply-to: References: <20200325150656.GX21443@telsasoft.com> <20200325154652.GA13069@alvherre.pgsql> <20200325160521.GA21443@telsasoft.com> <20200325192641.cj3up5c5koqgyppb@alap3.anarazel.de> <64886d1e91cbf28dc696503cdbb9d6ef7fff94c4.camel@cybertec.at> <20200326185056.qncp7yefomq4qmzq@alap3.anarazel.de> <61d1ab62a22ee7976b8d099dda8c8089fae74a9f.camel@cybertec.at> <490.1585687710@sss.pgh.pa.us> <30041.1585689399@sss.pgh.pa.us> <22297.1585797192@sss.pgh! .pa.us> <24467.1585838693@sss.pgh.pa.us> <17618.1585842396@sss.pgh.pa.us> Comments: In-reply-to David Rowley message dated "Fri, 03 Apr 2020 09:49:14 +1300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <11571.1585871074.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Thu, 02 Apr 2020 19:44:34 -0400 Message-ID: <11572.1585871074@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk David Rowley writes: > On Fri, 3 Apr 2020 at 04:46, Tom Lane wrote: >> Concretely, I suggest the attached, which replaces the autovac disables >> with adjusting partition boundaries so that the partitions contain >> different numbers of rows. > I've looked over this and I agree that it's a better solution to the pro= blem. > I'm happy for you to go ahead on this. Pushed, thanks for looking at it! regards, tom lane