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

2025-10-22 Thread Andres Freund
On 2025-10-22 14:28:24 +0300, Lukas Fittl wrote: > On Tue, Sep 9, 2025 at 10:35 PM Lukas Fittl 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 bot

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

2025-10-22 Thread Lukas Fittl
On Tue, Sep 9, 2025 at 10:35 PM Lukas Fittl 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 pat

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

2025-09-09 Thread Lukas Fittl
Hi Andres, Thanks for the review! 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. FWIW, pgWalUsage would also be nice to remove, but

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

2025-09-04 Thread Andres Freund
Hi, On 2025-08-31 16:57:01 -0700, Lukas Fittl wrote: > Please find attached a patch series that introduces a new paradigm for how > per-node WAL/buffer usage is tracked, with two primary goals: (1) reduce > overhead of EXPLAIN ANALYZE, (2) enable future work like tracking estimated > distinct buff