Re: Memoize shows only the last execution's stats for parallel workers

From: David Rowley <dgrowleyml(at)gmail(dot)com>
To: Tatsuya Kawata <kawatatatsuya0913(at)gmail(dot)com>
Cc: Postgres hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Memoize shows only the last execution's stats for parallel workers
Date: 2026-10-14 09:11:09
Message-ID: CAApHDvp2C+NtD84zV=e1VRcW04dAXd-knSvSVyO+TVOEWz1tWw@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, 12 Oct 2026 at 20:16, David Rowley <dgrowleyml(at)gmail(dot)com> wrote:
>
> On Mon, 12 Oct 2026 at 19:36, Tatsuya Kawata
> > The attached patch accumulates the stats instead of using memcpy(), as
> > is already done for Parallel Bitmap Heap Scan (5a1e6df3b84). For Memory
> > Usage, it keeps the maximum.
>
> I'll look into doing that once the tags for v19rc1 are applied.

RC1 tags are now applied, so I've pushed this and backpatched to v14.

David

In response to

Browse pgsql-hackers by date

  From Date Subject
Previous Message Zsolt Parragi 2026-10-14 08:59:24 Re: find_all_inheritors() with NoLock fails on concurrently dropped sub-partitions