pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrien NAYRAT <adrien.nayrat@anayrat.info>
To: dc345@cantab.net
To: pgsql-bugs@lists.postgresql.org
To: PG Bug reporting form <noreply@postgresql.org>
Subject: Re: BUG #15614: Query plan: buffer stats from workers in child operations discarded.
Date: Thu, 31 Jan 2019 11:28:58 +0100
Message-ID: <2d481e42-ffca-3d3f-7d6d-921575e47685@anayrat.info> (raw)
In-Reply-To: <15614-a02a45f185d527bc@postgresql.org>
References: <15614-a02a45f185d527bc@postgresql.org>

On 1/31/19 10:33 AM, PG Bug reporting form wrote:
> The following bug has been logged on the website:
> 
> Bug reference:      15614
> Logged by:          Dave Conlin
> Email address:      dc345@cantab.net
> PostgreSQL version: 10.4
> Operating system:   Windows 10
> Description:
> 
> Hi folks -
> 
> In the output of an `EXPLAIN` query, normally child operations are included
> in the totals for the buffers values, eg "Shared Hit Blocks". It seems that
> when a parent operation is single-threaded, but a child operation starts
> workers, then only the buffers stats from the main thread in the child
> operation are included in the totals for the parent operation.
> 


Hello,

This should have been fixed in 10.5 :

https://www.postgresql.org/docs/current/release-10-5.html
 > Fix EXPLAIN's accounting for resource usage, particularly buffer 
accesses, in parallel workers (Amit Kapila, Robert Haas)

Could you apply the minor update and test again?

Regards,





view thread (3+ messages)  latest in thread

Message-ID: <2d481e42-ffca-3d3f-7d6d-921575e47685@anayrat.info>
Permalink:  ../2d481e42-ffca-3d3f-7d6d-921575e47685@anayrat.info/
Also on:    postgresql.org/message-id/2d481e42-ffca-3d3f-7d6d-921575e47685@anayrat.info

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: adrien.nayrat@anayrat.info, dc345@cantab.net, noreply@postgresql.org
  Subject: Re: BUG #15614: Query plan: buffer stats from workers in child operations discarded.
  In-Reply-To: <2d481e42-ffca-3d3f-7d6d-921575e47685@anayrat.info>
  References: <15614-a02a45f185d527bc@postgresql.org> <2d481e42-ffca-3d3f-7d6d-921575e47685@anayrat.info>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox