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 <andrew@tao11.riddles.org.uk>
Cc: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: David Rowley <david.rowley@2ndquadrant.com>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Support partition pruning at execution time
Date: Sun, 08 Apr 2018 17:54:31 -0400
Message-ID: <1876.1523224471@sss.pgh.pa.us> (raw)
In-Reply-To: <87k1tignsc.fsf@news-spur.riddles.org.uk>
References: <20180408063734.titqzcvrzvrlp2bj@alvherre.pgsql>
	<87k1tignsc.fsf@news-spur.riddles.org.uk>

Andrew Gierth <andrew@tao11.riddles.org.uk> writes:
> "Alvaro" == Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
>  Alvaro> Thanks for cleaning that up. I'll look into why the test
>  Alvaro> (without this commit) fails with force_parallel_mode=regress
>  Alvaro> next week.

> Seems clear enough to me - the "Heap Fetches" statistic is kept in the
> IndexOnlyScanState node in its own field, not part of ss.ps.instrument,
> and is therefore not reported from workers to leader.

BTW, pademelon just exhibited a different instability in this test:

inline patch 1: /home/bfarm/bf-data/HEAD/pgsql.build/src/test/regress/results/partition_prune.out (+1/-1 lines) download inline-1.patch*** /home/bfarm/bf-data/HEAD/pgsql.build/src/test/regress/expected/partition_prune.out Sun Apr 8 01:56:04 2018 --- /home/bfarm/bf-data/HEAD/pgsql.build/src/test/regress/results/partition_prune.out Sun Apr 8 17:48:14 2018 *************** *** 1606,1612 **** -> Partial Aggregate (actual rows=1 loops=3) -> Parallel Append (actual rows=0 loops=3) Subplans Removed: 6 ! -> Parallel Seq Scan on ab_a2_b1 (actual rows=0 loops=1) Filter: ((a >= $1) AND (a <= $2) AND (b < 4)) -> Parallel Seq Scan on ab_a2_b2 (actual rows=0 loops=1) Filter: ((a >= $1) AND (a <= $2) AND (b < 4)) --- 1606,1612 ---- -> Partial Aggregate (actual rows=1 loops=3) -> Parallel Append (actual rows=0 loops=3) Subplans Removed: 6 ! -> Parallel Seq Scan on ab_a2_b1 (actual rows=0 loops=2) Filter: ((a >= $1) AND (a <= $2) AND (b < 4)) -> Parallel Seq Scan on ab_a2_b2 (actual rows=0 loops=1) Filter: ((a >= $1) AND (a <= $2) AND (b < 4))
====================================================================== Dunno quite what to make of that, but this animal previously passed at commit b47a86f Sun Apr 8 05:35:42 2018 UTC Attempt to stabilize partition_prune test output. so it's not a consistent failure. regards, tom lane

view thread (39+ messages)  latest in thread

Message-ID: <1876.1523224471@sss.pgh.pa.us>
Permalink:  ../1876.1523224471@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1876.1523224471@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, andrew@tao11.riddles.org.uk, alvherre@alvh.no-ip.org, david.rowley@2ndquadrant.com
  Subject: Re: pgsql: Support partition pruning at execution time
  In-Reply-To: <1876.1523224471@sss.pgh.pa.us>
  References: <20180408063734.titqzcvrzvrlp2bj@alvherre.pgsql> <87k1tignsc.fsf@news-spur.riddles.org.uk> <1876.1523224471@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