From: Tom Lane <tgl@sss.pgh.pa.us>
To: Thomas Munro <thomas.munro@gmail.com>
Cc: David Rowley <david.rowley@2ndquadrant.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Subject: Re: Parallel Append subplan order instability on aye-aye
Date: Mon, 15 Jul 2019 20:21:03 -0400
Message-ID: <1554.1563236463@sss.pgh.pa.us> (raw)
In-Reply-To: <1588.1558500275@sss.pgh.pa.us>
References: <CA+hUKG+0CxrKRWRMf5ymN3gm+BECHna2B-q1w8onKBep4HasUw@mail.gmail.com>
<2863.1558327585@sss.pgh.pa.us>
<CA+hUKGL1jZaZuUAtBhx0Bh6-qcOi5YwT9dZh8eZWmNmPauJvjA@mail.gmail.com>
<CAKJS1f-KovGF5-j8xMdMufrF-i=dJqmS=nh0Y3=pBtvLnAN6hw@mail.gmail.com>
<3341.1558449552@sss.pgh.pa.us>
<CA+hUKGJLgTy36PLGcMJWFqaYwyHWugtmYjaZD179z_FcxHp9cQ@mail.gmail.com>
<1588.1558500275@sss.pgh.pa.us>
[ reviving a thread that's been idle for awhile ]
I wrote:
> Thomas Munro <thomas.munro@gmail.com> writes:
>> Huh, idiacanthus failed showing vacuum_count 0, in select_parallel.
>> So ... the VACUUM command somehow skipped those tables?
> No, because the reltuples counts are correct. I think what we're
> looking at there is the stats collector dropping a packet that
> told it about vacuum activity.
> I'm surprised that we saw such a failure so quickly. I'd always
> figured that the collector mechanism, while it's designed to be
> unreliable, is only a little bit unreliable. Maybe it's more
> than a little bit.
So that data-collection patch has been in place for nearly 2 months
(since 2019-05-21), and in that time we've seen a grand total of
no repeats of the original problem, as far as I've seen. That's
fairly annoying considering we'd had four repeats in the month
prior to putting the patch in, but such is life.
In the meantime, we've had *lots* of buildfarm failures in the
added pg_stat_all_tables query, which indicate that indeed the
stats collector mechanism isn't terribly reliable. But that
doesn't directly prove anything about the original problem,
since the planner doesn't look at stats collector data.
Anyway, I'm now starting to feel that these failures are more
of a pain than they're worth, especially since there's not much
reason to hope that the original problem will recur soon.
What I propose to do is remove the pg_stat_all_tables query
but keep the relpages/reltuples query. That should fix the
buildfarm instability, but we can still hope to get at least
some insight if the original problem ever does recur.
regards, tom lane
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-hackers@postgresql.org
Cc: tgl@sss.pgh.pa.us, thomas.munro@gmail.com, david.rowley@2ndquadrant.com
Subject: Re: Parallel Append subplan order instability on aye-aye
In-Reply-To: <1554.1563236463@sss.pgh.pa.us>
References: <CA+hUKG+0CxrKRWRMf5ymN3gm+BECHna2B-q1w8onKBep4HasUw@mail.gmail.com> <2863.1558327585@sss.pgh.pa.us> <CA+hUKGL1jZaZuUAtBhx0Bh6-qcOi5YwT9dZh8eZWmNmPauJvjA@mail.gmail.com> <CAKJS1f-KovGF5-j8xMdMufrF-i=dJqmS=nh0Y3=pBtvLnAN6hw@mail.gmail.com> <3341.1558449552@sss.pgh.pa.us> <CA+hUKGJLgTy36PLGcMJWFqaYwyHWugtmYjaZD179z_FcxHp9cQ@mail.gmail.com> <1588.1558500275@sss.pgh.pa.us> <1554.1563236463@sss.pgh.pa.us>
* 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