pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Toomas Kristin <toomas.kristin@gmail.com>
Cc: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Cc: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: Conflict with recovery on PG version 11.6
Date: Sat, 20 Jun 2020 14:03:09 +0200
Message-ID: <fab3d72fcdda3f7b3fd67cca4b8cbc8f72f6faad.camel@cybertec.at> (raw)
In-Reply-To: <F169AE77-1612-45AD-A12C-6BBDC74216B7@gmail.com>
References: <918BFA04-B89D-4F29-9868-0A113AD72F52@gmail.com>
	<2d05bf2ad62fc71a5df3d9ba4e75fa300e3e020c.camel@cybertec.at>
	<F9F549BB-4EB9-4674-B7DF-B7A76229DE4C@gmail.com>
	<20200619.151301.1212338526785241016.horikyota.ntt@gmail.com>
	<ED975043-6B45-4E9E-AC32-683BCDFC9BE0@gmail.com>
	<d38a6a2facd871ea99cf40e24ef319eb6b432638.camel@cybertec.at>
	<F169AE77-1612-45AD-A12C-6BBDC74216B7@gmail.com>

On Sat, 2020-06-20 at 06:51 +0300, Toomas Kristin wrote:
> Thank you for help. hot_standby_feedback did what I expected (no lag on replication
> and no session termination) and case is closed. Only it is foggy for me how it can
> be when no logs about vacuuming from that time window when session is active on standby host.

Perhaps heap only tuple chain pruning.

Have you got "n_tup_hot_upd" > 0 somewhere in "pg_stat_user_tables"?
Then any reader can "micro-vacuum" blocks with such tuples.

Yours,
Laurenz Albe
-- 
Cybertec | https://www.cybertec-postgresql.com






view thread (12+ messages)

Message-ID: <fab3d72fcdda3f7b3fd67cca4b8cbc8f72f6faad.camel@cybertec.at>
Permalink:  ../fab3d72fcdda3f7b3fd67cca4b8cbc8f72f6faad.camel@cybertec.at/
Also on:    postgresql.org/message-id/fab3d72fcdda3f7b3fd67cca4b8cbc8f72f6faad.camel@cybertec.at

 · 

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: laurenz.albe@cybertec.at, toomas.kristin@gmail.com, horikyota.ntt@gmail.com
  Subject: Re: Conflict with recovery on PG version 11.6
  In-Reply-To: <fab3d72fcdda3f7b3fd67cca4b8cbc8f72f6faad.camel@cybertec.at>
  References: <918BFA04-B89D-4F29-9868-0A113AD72F52@gmail.com> <2d05bf2ad62fc71a5df3d9ba4e75fa300e3e020c.camel@cybertec.at> <F9F549BB-4EB9-4674-B7DF-B7A76229DE4C@gmail.com> <20200619.151301.1212338526785241016.horikyota.ntt@gmail.com> <ED975043-6B45-4E9E-AC32-683BCDFC9BE0@gmail.com> <d38a6a2facd871ea99cf40e24ef319eb6b432638.camel@cybertec.at> <F169AE77-1612-45AD-A12C-6BBDC74216B7@gmail.com> <fab3d72fcdda3f7b3fd67cca4b8cbc8f72f6faad.camel@cybertec.at>

* 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