pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rijo Roy <rjo_roy@yahoo.com>
To: tgl@sss.pgh.pa.us <tgl@sss.pgh.pa.us>
Cc: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: Re: Template0 datfrozenxid age is 160million and progressing
Date: Wed, 1 Aug 2018 14:31:11 +0000 (UTC)
Message-ID: <1878935582.502633.1533133871925@mail.yahoo.com> (raw)
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>

I agree.. But unfortunately it is the business call and we cannot alter it.. I am planning to convince them by keeping autovacuum_analyze_threshold to a high value so that auto analyse will not kick in very often leaving the autovacuum to do its job.. Please advise. 
Thanks, Rijo Roy 
Sent from Yahoo Mail on Android 
 
  On Wed, 1 Aug 2018 at 7:54 pm, Tom Lane<tgl@sss.pgh.pa.us> wrote:   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  

view thread (13+ messages)  latest in thread

Message-ID: <1878935582.502633.1533133871925@mail.yahoo.com>
Permalink:  ../1878935582.502633.1533133871925@mail.yahoo.com/
Also on:    postgresql.org/message-id/1878935582.502633.1533133871925@mail.yahoo.com

 · 

reply

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: rjo_roy@yahoo.com, tgl@sss.pgh.pa.us
  Subject: Re: Template0 datfrozenxid age is 160million and progressing
  In-Reply-To: <1878935582.502633.1533133871925@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> <28019.1533133464@sss.pgh.pa.us> <1878935582.502633.1533133871925@mail.yahoo.com>

* 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