Re: pgsql: Add memory/disk usage for Window aggregate nodes in EXPLAIN. - Mailing list pgsql-hackers

From David Rowley
Subject Re: pgsql: Add memory/disk usage for Window aggregate nodes in EXPLAIN.
Date
Msg-id CAApHDvoOHfFYXUryAymxiZjvyvhEt0ueeBOJRUOJWn1W7e3eyA@mail.gmail.com
Whole thread Raw
In response to Re: pgsql: Add memory/disk usage for Window aggregate nodes in EXPLAIN.  (Christoph Berg <myon@debian.org>)
Responses Re: pgsql: Add memory/disk usage for Window aggregate nodes in EXPLAIN.
List pgsql-hackers
On Tue, 1 Apr 2025 at 09:40, Christoph Berg <myon@debian.org> wrote:
> =# explain (analyze,buffers off,costs off) select sum(n) over() from generate_series(1,2048) a(n);
>                                         QUERY PLAN
> ──────────────────────────────────────────────────────────────────────────────────────────
>  WindowAgg (actual time=2.073..2.686 rows=2048.00 loops=1)
>    Window: w1 AS ()
>    Storage: Disk  Maximum Storage: 65kB

Thank you for testing that. I've just pushed a patch to bump it up to 2500.

I suspect the buildfarm didn't catch this due to the tuplestore
consuming enough memory in MEMORY_CONTEXT_CHECKING builds.

David

pgsql-hackers by date:

Previous
From: Jeff Davis
Date:
Subject: Re: Statistics Import and Export
Next
From: Melanie Plageman
Date:
Subject: Re: Periodic FSM vacuum doesn't happen in one-pass strategy vacuum.