Re: pgsql: Add memory/disk usage for Window aggregate nodes in EXPLAIN.
David Rowley <dgrowleyml@gmail.com>
From: David Rowley <dgrowleyml@gmail.com>
To: Christoph Berg <myon@debian.org>
Cc: Tatsuo Ishii <ishii@postgresql.org>, pgsql-hackers@lists.postgresql.org
Date: 2025-03-31T22:09:11Z
Lists: 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
Commits
-
Fix failing regression test on x86-32 machines
- 3dbdf86c6364 18.0 landed
-
Add memory/disk usage for Window aggregate nodes in EXPLAIN.
- 95d6e9af07d2 18.0 cited