Re: Buffers from parallel workers not accumulated to upper nodes with gather merge

Jehan-Guillaume de Rorthais <jgdr@dalibo.com>

From: Jehan-Guillaume de Rorthais <jgdr@dalibo.com>
To: Amit Kapila <amit.kapila16@gmail.com>
Cc: PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>
Date: 2020-07-25T21:43:28Z
Lists: pgsql-bugs
On Sat, 25 Jul 2020 13:16:55 +0530
Amit Kapila <amit.kapila16@gmail.com> wrote:

> On Thu, Jul 23, 2020 at 4:24 PM Amit Kapila <amit.kapila16@gmail.com> wrote:
> >
> > On Thu, Jul 23, 2020 at 3:59 PM Jehan-Guillaume de Rorthais
> > <jgdr@dalibo.com> wrote:  
> > >
> > >
> > > I'm not an english-native writer, but I would rephrase this:
> > >
> > >   We can do a similar thing for Gather Merge as well but it seems the
> > > better to account for stats during nodes shutdown after completing the
> > > execution. 
> >
> > Fair enough.  I will adopt your suggestion before commit.   I'll wait
> > for a day or so to see if anyone has more comments.
> >  
> 
> Pushed.

Thank you!

Regards,



Commits

  1. Fix buffer usage stats for nodes above Gather Merge.

  2. Fix buffer usage stats for parallel nodes.