From: David Conlin <dc345@cantab.net>
To: Adrien NAYRAT <adrien.nayrat@anayrat.info>
To: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15614: Query plan: buffer stats from workers in child operations discarded.
Date: Thu, 31 Jan 2019 14:29:40 +0000
Message-ID: <1f5ac84b-1899-b908-746d-655a0abe3d87@cantab.net> (raw)
In-Reply-To: <2d481e42-ffca-3d3f-7d6d-921575e47685@anayrat.info>
References: <15614-a02a45f185d527bc@postgresql.org>
<2d481e42-ffca-3d3f-7d6d-921575e47685@anayrat.info>
It is, thanks a lot.
Sorry, I should have checked - I thought the minor versions were getting
bugfixes, but I was just confused with the pre v10 way of numbering I think
Thanks
Dave
On 31/01/2019 10:28, Adrien NAYRAT wrote:
> 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,
>
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: dc345@cantab.net, adrien.nayrat@anayrat.info
Subject: Re: BUG #15614: Query plan: buffer stats from workers in child operations discarded.
In-Reply-To: <1f5ac84b-1899-b908-746d-655a0abe3d87@cantab.net>
References: <15614-a02a45f185d527bc@postgresql.org> <2d481e42-ffca-3d3f-7d6d-921575e47685@anayrat.info> <1f5ac84b-1899-b908-746d-655a0abe3d87@cantab.net>
* 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