pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: 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 23:37:06 -0400
Message-ID: <7981.1489721826@sss.pgh.pa.us> (raw)
In-Reply-To: <E1coe3P-0001GR-TM@gemulon.postgresql.org>
References: <E1coe3P-0001GR-TM@gemulon.postgresql.org>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

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.

			regards, tom lane


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers



view thread (15+ messages)  latest in thread

Message-ID: <7981.1489721826@sss.pgh.pa.us>
Permalink:  ../7981.1489721826@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/7981.1489721826@sss.pgh.pa.us

 · 

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-committers@postgresql.org
  Cc: 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: <7981.1489721826@sss.pgh.pa.us>
  References: <E1coe3P-0001GR-TM@gemulon.postgresql.org> <7981.1489721826@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