From: Tom Lane <tgl@sss.pgh.pa.us>
To: Thomas Munro <thomas.munro@gmail.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Subject: Re: Parallel Append subplan order instability on aye-aye
Date: Mon, 20 May 2019 20:07:22 -0400
Message-ID: <21395.1558397242@sss.pgh.pa.us> (raw)
In-Reply-To: <CA+hUKGL1jZaZuUAtBhx0Bh6-qcOi5YwT9dZh8eZWmNmPauJvjA@mail.gmail.com>
References: <CA+hUKG+0CxrKRWRMf5ymN3gm+BECHna2B-q1w8onKBep4HasUw@mail.gmail.com>
<2863.1558327585@sss.pgh.pa.us>
<CA+hUKGL1jZaZuUAtBhx0Bh6-qcOi5YwT9dZh8eZWmNmPauJvjA@mail.gmail.com>
Thomas Munro <thomas.munro@gmail.com> writes:
> On Mon, May 20, 2019 at 4:46 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Note that in the discussion that led up to 624e440a, we never did
>> think that we'd completely explained the original irreproducible
>> failure.
> I think it might be dependent on incidental vacuum/analyze activity
> having updated reltuples.
The problem is to explain where said activity came from. a_star and
its children are too small to attract autovacuum's attention. They
get created/filled in create_table.sql/create_misc.sql, and then they
get explicitly vacuum'd by sanity_check.sql, and then after that
things are 100% stable. Or should be.
There are some incidental ALTER TABLEs on them in misc.sql and
select_parallel.sql, but those shouldn't have any interesting
effects on the rowcount estimates ... and even if they do,
why would such effects not be reproducible?
So I'm not excited about sticking in an extra vacuum or analyze
without actually understanding why the irreproducible behavior
happens. It's not exactly implausible that that'd make it
worse not better.
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
Subject: Re: Parallel Append subplan order instability on aye-aye
In-Reply-To: <21395.1558397242@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> <21395.1558397242@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