pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: David Rowley <drowley@postgresql.org>
Cc: pgsql-committers@lists.postgresql.org, Tomas Vondra <tomas.vondra@2ndquadrant.com>
Subject: Re: pgsql: Attempt to fix unstable regression tests, take 2
Date: Mon, 30 Mar 2020 21:45:15 -0400
Message-ID: <11757.1585619115@sss.pgh.pa.us> (raw)
In-Reply-To: <10234.1585613690@sss.pgh.pa.us>
References: <E1jIrrJ-0000GJ-PS@gemulon.postgresql.org>
	<10234.1585613690@sss.pgh.pa.us>

I wrote:
> Specifically, I notice that in the last couple of failures involving
> tests on "mcv_lists", we are considering stats on a 5000-row table.
> With the standard setting default_statistics_target = 100, ANALYZE
> will take a 3000-row random sample, meaning that its results are
> *inherently* not 100% reproducible.

No, wait, scratch that --- I misremembered the multiplier.  Actually
ANALYZE will try to acquire a 30000-row sample, so its sample *should*
always include the entire table.  Autovacuum or not, the stats ought
to come out exactly the same every time in this test case.  But they
are not doing so, at least on some machines.  We need to figure out
why that is.

Anyway, I remain suspicious that the instability is the fault
of something in the statistics code, not of autovacuum.

			regards, tom lane





view thread (9+ messages)  latest in thread

Message-ID: <11757.1585619115@sss.pgh.pa.us>
Permalink:  ../11757.1585619115@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/11757.1585619115@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, drowley@postgresql.org, tomas.vondra@2ndquadrant.com
  Subject: Re: pgsql: Attempt to fix unstable regression tests, take 2
  In-Reply-To: <11757.1585619115@sss.pgh.pa.us>
  References: <E1jIrrJ-0000GJ-PS@gemulon.postgresql.org> <10234.1585613690@sss.pgh.pa.us> <11757.1585619115@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