From: Tom Lane <tgl@sss.pgh.pa.us>
To: rjo_roy@yahoo.com <rjo_roy@yahoo.com>
Cc: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: Re: Template0 datfrozenxid age is 160million and progressing
Date: Wed, 01 Aug 2018 10:24:24 -0400
Message-ID: <28019.1533133464@sss.pgh.pa.us> (raw)
In-Reply-To: <1786421786.471176.1533132923796@mail.yahoo.com>
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>
Rijo Roy <rjo_roy@yahoo.com> writes:
> Thanks for the advice. Autovacuum is disabled in the environment and I cannot take a call on enabling it back. I can only run manual vacuum on the database as the dev team fears autoanalyze changing the query performance. Do you still think we don't need to take any actions.
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.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: tgl@sss.pgh.pa.us, rjo_roy@yahoo.com
Subject: Re: Template0 datfrozenxid age is 160million and progressing
In-Reply-To: <28019.1533133464@sss.pgh.pa.us>
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>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox