From: | "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> |
---|---|
To: | Anastasia Lubennikova <a(dot)lubennikova(at)postgrespro(dot)ru> |
Cc: | Julien Rouhaud <rjuju123(at)gmail(dot)com>, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, e(dot)sokolova(at)postgrespro(dot)ru, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: [PATCH] Add extra statistics to explain for Nested Loop |
Date: | 2020-10-17 15:11:34 |
Message-ID: | CAKFQuwaD8h2wjuxs8CS9D5d1a5zmJk0xx32HceDxn=eMyw6Tqw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Fri, Oct 16, 2020 at 3:11 PM Anastasia Lubennikova <
a(dot)lubennikova(at)postgrespro(dot)ru> wrote:
> User visible change is:
>
>
> - -> Nested Loop (actual rows=N loops=N)
> + -> Nested Loop (actual min_rows=0 rows=0 max_rows=0
> loops=2)
>
I'd be inclined to append both new rows to the end.
(actual rows=N loops=N min_rows=N max_rows=N)
rows * loops is still an important calculation.
Why not just add total_rows while we are at it - last in the listing?
(actual rows=N loops=N min_rows=N max_rows=N total_rows=N)
David J.
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Geoghegan | 2020-10-17 15:39:35 | Re: pgstat_report_activity() and parallel CREATE INDEX (was: Parallel index creation & pg_stat_activity) |
Previous Message | Andrew Dunstan | 2020-10-17 13:54:46 | Re: Sometimes the output to the stdout in Windows disappears |