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 1fkrnl-0003Fd-Rv for pgsql-general@arkaria.postgresql.org; Wed, 01 Aug 2018 14:08:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fkrnj-0002lT-Pm for pgsql-general@arkaria.postgresql.org; Wed, 01 Aug 2018 14:08:31 +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.89) (envelope-from ) id 1fkrnj-0002lM-Hy for pgsql-general@lists.postgresql.org; Wed, 01 Aug 2018 14:08:31 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fkrnh-00074i-2f for pgsql-general@postgresql.org; Wed, 01 Aug 2018 14:08:31 +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 w71E8RPp027296; Wed, 1 Aug 2018 10:08:27 -0400 From: Tom Lane To: "rjo_roy@yahoo.com" cc: "pgsql-general@postgresql.org" Subject: Re: Template0 datfrozenxid age is 160million and progressing In-reply-to: <1190777028.356668.1533122919329@mail.yahoo.com> References: <1190777028.356668.1533122919329.ref@mail.yahoo.com> <1190777028.356668.1533122919329@mail.yahoo.com> Comments: In-reply-to Rijo Roy message dated "Wed, 01 Aug 2018 11:28:39 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <27294.1533132507.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Wed, 01 Aug 2018 10:08:27 -0400 Message-ID: <27295.1533132507@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Rijo Roy writes: > I am observing a steady increase in age(datfrozenxid) of template0 datab= ase in my Postgresql 10 running in a RHEL 6.9Currently, it is at 166846989= and I am not able to vacuum the same as datallowconn is false. Thought of= setting it to true and perform a vacuum freeze on the same. Before doing = that, I wanted to check whether I should be worrying for something here or= can I just go ahead with my plan.=C2=A0 I would leave well enough alone. Unless you've changed the default values of autovacuum parameters, that behavior is perfectly normal and not worrisome. autovacuum should kick in and do something about it at 200 million xacts (autovacuum_freeze_max_age). regards, tom lane