Re: Redux: Throttle WAL inserts before commit

From: Jakub Wartak <jakub(dot)wartak(at)enterprisedb(dot)com>
To: Shirisha Shirisha <shirisha(dot)sn(at)broadcom(dot)com>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org, soumyadeep2007(at)gmail(dot)com, Ashwin Agrawal <ashwinstar(at)gmail(dot)com>
Subject: Re: Redux: Throttle WAL inserts before commit
Date: 2024-08-29 07:28:16
Message-ID: CAKZiRmwQZgGrwXajLGbjD2a0F0=1Fzmh4A+pOJODg+OymQu+Ug@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Aug 27, 2024 at 12:51 PM Shirisha Shirisha
<shirisha(dot)sn(at)broadcom(dot)com> wrote:
>
> Hello hackers,
>
> This is an attempt to resurrect the thread [1] to throttle WAL inserts
> before the point of commit.
>
> Background:
>
> Transactions on commit, wait for replication and make sure WAL is
> flushed up to commit lsn on standby, when synchronous_commit is on.

Hi Shirisha,

Just to let you know, there was a more recent attempt at that in [1]
in Jan 2023 , also with a resurrection attempt there in Nov 2023 by
Tomas. Those patches there seemed to have received plenty of attention
back then and were also based on SyncRepWaitForLSN(), but somehow
maybe we ran out of steam and there was not that big interest back
then.

Maybe you could post a review there (for Tomas's more modern recent
patch), if it is helping your use case even today. That way it could
get some traction again?

-Jakub Wartak.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message jian he 2024-08-29 09:01:00 Re: Virtual generated columns
Previous Message Bharath Rupireddy 2024-08-29 07:25:59 Re: Introduce new multi insert Table AM and improve performance of various SQL commands with it for Heap AM