From: Christophe Pettus <xof@thebuild.com>
To: Peter Geoghegan <pg@bowt.ie>
Cc: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: hot_standby_feedback implementation
Date: Tue, 15 Jun 2021 17:41:36 -0700
Message-ID: <CD8D4757-ECC0-4CBA-9E26-A07617670249@thebuild.com> (raw)
In-Reply-To: <CAH2-Wzkjz8kKPpje5oX29Of=vUkHZNi2nXsWmsP586pndbNzqA@mail.gmail.com>
References: <F3256FB1-17EE-4CC8-A8D8-50F444A37FD7@thebuild.com>
<CAH2-Wzkjz8kKPpje5oX29Of=vUkHZNi2nXsWmsP586pndbNzqA@mail.gmail.com>
> On Jun 15, 2021, at 17:30, Peter Geoghegan <pg@bowt.ie> wrote:
> It pretty much works by making the WAL sender process on the primary
> look like it holds a snapshot that's as old as the oldest snapshot on
> the replica.
>
> A replica can block VACUUM on the primary *directly* by holding a
> table-level lock, though in practice only when somebody on the replica
> acquires an AccessExclusiveLock -- which is presumably rare in
> practice.
Thank you! Attempting to track down a sudden burst of every session waiting on lock_manager LW locks, and part of that is finding the source of locks.
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: xof@thebuild.com, pg@bowt.ie
Subject: Re: hot_standby_feedback implementation
In-Reply-To: <CD8D4757-ECC0-4CBA-9E26-A07617670249@thebuild.com>
References: <F3256FB1-17EE-4CC8-A8D8-50F444A37FD7@thebuild.com> <CAH2-Wzkjz8kKPpje5oX29Of=vUkHZNi2nXsWmsP586pndbNzqA@mail.gmail.com> <CD8D4757-ECC0-4CBA-9E26-A07617670249@thebuild.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