Re: Reducing memory consumption for pending inval messages

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Reducing memory consumption for pending inval messages
Date: 2021-07-13 20:21:40
Message-ID: 3380133.1626207700@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I wrote:
> It turns out that the existing implementation in inval.c is quite
> inefficient when a lot of individual commands each register just
> a few invalidations --- but a few invalidations per command is
> pretty typical.

Per the cfbot, here's a rebase over 3788c6678 (actually just
undoing its effects on inval.c, since that code is removed here).

regards, tom lane

Attachment Content-Type Size
revamp-inval-list-management-2.patch text/x-diff 28.5 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Euler Taveira 2021-07-13 20:37:55 Re: row filtering for logical replication
Previous Message Alvaro Herrera 2021-07-13 19:21:17 Re: row filtering for logical replication