pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Christophe Pettus <xof@thebuild.com>
Cc: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: MultiXactMemberControlLock contention on a replica
Date: Mon, 15 Feb 2021 17:15:41 +0100
Message-ID: <d989eeec7ed83ff72cee294d049d21f8ea4347a6.camel@cybertec.at> (raw)
In-Reply-To: <061BEE02-EA45-4ED5-A9CB-2015D133CA2B@thebuild.com>
References: <76AD9A74-E518-4D2F-A4B7-EBB6203530C3@thebuild.com>
	<99c0f12af81e0370c2caddb75cd8150a1a818dd8.camel@cybertec.at>
	<061BEE02-EA45-4ED5-A9CB-2015D133CA2B@thebuild.com>

On Mon, 2021-02-15 at 08:03 -0800, Christophe Pettus wrote:
> On Feb 15, 2021, at 07:47, Laurenz Albe <laurenz.albe@cybertec.at> wrote:
> > So my guess would be that the difference between primary and standby is not that a
> > different number of multixacts are created, but that you need to read them on
> > the standby and not on the primary.
> 
> Why does the secondary need to read them?  Visibility?

Right.  I cannot think of any other reason, given that the standby only
allows reading.  It's just an "xmax", and PostgreSQL needs to read the
multixact to figure out if it can see the row or not.

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






view thread (6+ messages)  latest in thread

Message-ID: <d989eeec7ed83ff72cee294d049d21f8ea4347a6.camel@cybertec.at>
Permalink:  ../d989eeec7ed83ff72cee294d049d21f8ea4347a6.camel@cybertec.at/
Also on:    postgresql.org/message-id/d989eeec7ed83ff72cee294d049d21f8ea4347a6.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, xof@thebuild.com
  Subject: Re: MultiXactMemberControlLock contention on a replica
  In-Reply-To: <d989eeec7ed83ff72cee294d049d21f8ea4347a6.camel@cybertec.at>
  References: <76AD9A74-E518-4D2F-A4B7-EBB6203530C3@thebuild.com> <99c0f12af81e0370c2caddb75cd8150a1a818dd8.camel@cybertec.at> <061BEE02-EA45-4ED5-A9CB-2015D133CA2B@thebuild.com> <d989eeec7ed83ff72cee294d049d21f8ea4347a6.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