Re: Stack-based tracking of per-node WAL/buffer usage

From: Lukas Fittl <lukas(at)fittl(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Stack-based tracking of per-node WAL/buffer usage
Date: 2025-10-22 11:28:24
Message-ID: CAP53Pkz-BmkLFJ+sAcr8H1sBPtWp8WYGzorH9yw+W5Tn0yH0sg@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Sep 9, 2025 at 10:35 PM Lukas Fittl <lukas(at)fittl(dot)com> wrote:

> Attached an updated patch set that addresses the feedback, and also adds
> the complete removal of the global pgBufferUsage variable in later patches
> (0005-0007), to avoid counting both the stack and the variable.
>

See attached the same patch set rebased on latest master.

Thanks,
Lukas

--
Lukas Fittl

Attachment Content-Type Size
v3-0001-Instrumentation-Keep-time-fields-as-instrtime-req.patch application/octet-stream 7.3 KB
v3-0004-Introduce-stack-for-tracking-per-node-WAL-buffer-.patch application/octet-stream 20.5 KB
v3-0005-Use-Instrumentation-stack-for-parallel-query-aggr.patch application/octet-stream 9.5 KB
v3-0002-Separate-node-instrumentation-from-other-use-of-I.patch application/octet-stream 21.4 KB
v3-0006-Introduce-alternate-Instrumentation-stack-mechani.patch application/octet-stream 4.8 KB
v3-0007-Convert-remaining-users-of-pgBufferUsage-to-use-I.patch application/octet-stream 17.8 KB
v3-0003-Replace-direct-changes-of-pgBufferUsage-pgWalUsag.patch application/octet-stream 9.1 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Corey Huinker 2025-10-22 11:55:31 Re: Extended Statistics set/restore/clear functions.
Previous Message shveta malik 2025-10-22 11:06:05 Re: POC: enable logical decoding when wal_level = 'replica' without a server restart