From: Andres Freund <andres@anarazel.de>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Andrew Gierth <rhodiumtoad@postgresql.org>
Cc: pgsql-committers@postgresql.org
Subject: Re: pgsql: Avoid having vacuum set reltuples to 0 on non-empty relations in
Date: Thu, 16 Mar 2017 20:44:27 -0700
Message-ID: <20170317034427.2bpbaii6riswpiwk@alap3.anarazel.de> (raw)
In-Reply-To: <7981.1489721826@sss.pgh.pa.us>
References: <E1coe3P-0001GR-TM@gemulon.postgresql.org>
<7981.1489721826@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
On 2017-03-16 23:37:06 -0400, Tom Lane wrote:
> Andrew Gierth <rhodiumtoad@postgresql.org> writes:
> > Avoid having vacuum set reltuples to 0 on non-empty relations in the
> > presence of page pins, which leads to serious estimation errors in the
> > planner.
>
> Hm, buildfarm results suggest this test is not entirely stable:
>
> https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=crake&dt=2017-03-17%2000%3A47%3A57
>
> I have not looked very closely, but I'm suspicious that the test case
> depends on no autovacuum transactions running concurrently with it.
> Disabling autovac on the table itself is not enough to control whether
> global xmin is being held back by some other autovac transaction
> somewhere.
Yea, brought it up on IRC too - he's gone for the night (Europe). I
suspect changing things > might do the trick.
- Andres
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
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-committers@postgresql.org
Cc: andres@anarazel.de, tgl@sss.pgh.pa.us, rhodiumtoad@postgresql.org
Subject: Re: pgsql: Avoid having vacuum set reltuples to 0 on non-empty relations in
In-Reply-To: <20170317034427.2bpbaii6riswpiwk@alap3.anarazel.de>
References: <E1coe3P-0001GR-TM@gemulon.postgresql.org> <7981.1489721826@sss.pgh.pa.us> <20170317034427.2bpbaii6riswpiwk@alap3.anarazel.de>
* 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