Re: Template0 datfrozenxid age is 160million and progressing

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "rjo_roy(at)yahoo(dot)com" <rjo_roy(at)yahoo(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Template0 datfrozenxid age is 160million and progressing
Date: 2018-08-01 14:08:27
Message-ID: 27295.1533132507@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Rijo Roy <rjo_roy(at)yahoo(dot)com> writes:
> I am observing a steady increase in age(datfrozenxid) of template0 database 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. 

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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Vick Khera 2018-08-01 14:11:21 Re: Settings for fast restores
Previous Message Tom Lane 2018-08-01 13:47:29 Re: Adding terminal title support for psqlrc