Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fkter-0001dm-74 for pgsql-general@arkaria.postgresql.org; Wed, 01 Aug 2018 16:07:29 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fkteo-0004Wz-ON for pgsql-general@arkaria.postgresql.org; Wed, 01 Aug 2018 16:07:26 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fkteo-0004Ws-CC for pgsql-general@lists.postgresql.org; Wed, 01 Aug 2018 16:07:26 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fkteh-0002ac-In for pgsql-general@postgresql.org; Wed, 01 Aug 2018 16:07:24 +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 w71G7GRR009201; Wed, 1 Aug 2018 12:07:16 -0400 From: Tom Lane To: Andres Freund cc: "rjo_roy@yahoo.com" , "pgsql-general@postgresql.org" Subject: Re: Template0 datfrozenxid age is 160million and progressing In-reply-to: <20180801153937.clg7zzc2mqle5z2l@alap3.anarazel.de> References: <1190777028.356668.1533122919329.ref@mail.yahoo.com> <1190777028.356668.1533122919329@mail.yahoo.com> <27295.1533132507@sss.pgh.pa.us> <1786421786.471176.1533132923796@mail.yahoo.com> <28019.1533133464@sss.pgh.pa.us> <20180801153937.clg7zzc2mqle5z2l@alap3.anarazel.de> Comments: In-reply-to Andres Freund message dated "Wed, 01 Aug 2018 08:39:37 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <9199.1533139636.1@sss.pgh.pa.us> Date: Wed, 01 Aug 2018 12:07:16 -0400 Message-ID: <9200.1533139636@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Andres Freund writes: > On 2018-08-01 10:24:24 -0400, Tom Lane wrote: >> IMO, the action you need to take is enabling autovacuum. We've >> seen many many people go down the path you are taking, and it's >> generally led to no good in the end. Manual vacuuming tends >> to miss stuff, and it cannot react adequately to activity spikes. > But it shouldn't matter here, autovacuum will start regardless, no? Sure, once it decides that emergency anti-wraparound vacuuming is necessary. I really doubt the OP wants that to happen; it's the exact opposite of non-intrusive. regards, tom lane