Re: Show estimated number of groups for IncrementalSort in EXPLAIN

From: David Rowley <dgrowleyml(at)gmail(dot)com>
To: Ilia Evdokimov <ilya(dot)evdokimov(at)tantorlabs(dot)com>
Cc: PostgreSQL Developers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Enrique Sánchez <enriqueesanchz(at)gmail(dot)com>, solai v <solai(dot)cdac(at)gmail(dot)com>
Subject: Re: Show estimated number of groups for IncrementalSort in EXPLAIN
Date: 2026-08-11 01:37:38
Message-ID: CAApHDvoCsOHS98Vm0PWaLn2ruyQnn3i-yOuV+a_3WAKFdUjFVA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, 29 Jul 2026 at 22:14, Ilia Evdokimov
<ilya(dot)evdokimov(at)tantorlabs(dot)com> wrote:
> I noticed that doc contains a query with EXPLAIN output for an
> Incremental Sort plan, and we should add new line with Estimated Groups.
> I added v3-patch with it.

I did some very minor adjustments to align some parameter names so
they used the same naming convention as the other parameters, and also
some alignment of comments for the new numGroups fields to make the
comments the same as the other places that have a field by that name
and for the same purpose.

Now pushed.

David

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Quan Zongliang 2026-08-11 02:01:23 Re: [PATCH] Remove stale comment and dead store in BuildTupleHashTable
Previous Message Bharath Rupireddy 2026-08-11 01:25:00 Re: Introduce XID age based replication slot invalidation