Re: pgsql: Add memory/disk usage for Window aggregate nodes in EXPLAIN.

From: David Rowley <dgrowleyml(at)gmail(dot)com>
To: Christoph Berg <myon(at)debian(dot)org>
Cc: Tatsuo Ishii <ishii(at)postgresql(dot)org>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: pgsql: Add memory/disk usage for Window aggregate nodes in EXPLAIN.
Date: 2025-03-31 22:09:11
Message-ID: CAApHDvoOHfFYXUryAymxiZjvyvhEt0ueeBOJRUOJWn1W7e3eyA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

On Tue, 1 Apr 2025 at 09:40, Christoph Berg <myon(at)debian(dot)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

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Christoph Berg 2025-03-31 22:17:31 Re: pgsql: Add support for OAUTHBEARER SASL mechanism
Previous Message David Rowley 2025-03-31 22:06:54 pgsql: Fix failing regression test on x86-32 machines

Browse pgsql-hackers by date

  From Date Subject
Next Message Melanie Plageman 2025-03-31 22:12:16 Re: Periodic FSM vacuum doesn't happen in one-pass strategy vacuum.
Previous Message Jeff Davis 2025-03-31 22:04:05 Re: Statistics Import and Export