pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Sergei Kornilov <sk@zsrv.org>
To: 石勇虎 <shiyonghu651@pingan.com.cn>
To: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Subject: Re: autovacuum can not remove dead tuples
Date: Tue, 03 Apr 2018 17:07:01 +0300
Message-ID: <5050691522764421@web14g.yandex.ru> (raw)
In-Reply-To: <aa51d463ae8f410a8d5c4eb120e9bdc1@pingan.com.cn>
References: <aa51d463ae8f410a8d5c4eb120e9bdc1@pingan.com.cn>

Hello
Have you any replica with hot_standby_feedback=on ? Long transactions on such replicas will prevent vacuum. Another important option is vacuum_defer_cleanup_age on master.

regards, Sergei




view thread (4+ messages)  latest in thread

Message-ID: <5050691522764421@web14g.yandex.ru>
Permalink:  ../5050691522764421@web14g.yandex.ru/
Also on:    postgresql.org/message-id/5050691522764421@web14g.yandex.ru

 · 

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-bugs@postgresql.org
  Cc: sk@zsrv.org, shiyonghu651@pingan.com.cn
  Subject: Re: autovacuum can not remove dead tuples
  In-Reply-To: <5050691522764421@web14g.yandex.ru>
  References: <aa51d463ae8f410a8d5c4eb120e9bdc1@pingan.com.cn> <5050691522764421@web14g.yandex.ru>

* 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