From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: pgsql-hackers <pgsql-hackers@postgresql.org>
Subject: select_parallel test fails with nonstandard block size
Date: Thu, 15 Sep 2016 07:26:35 -0500
Message-ID: <90634e20-097a-e4fd-67d5-fb2c42f0dd71@2ndquadrant.com> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
When building with --with-blocksize=16, the select_parallel test fails
with this difference:
explain (costs off)
select sum(parallel_restricted(unique1)) from tenk1
group by(parallel_restricted(unique1));
- QUERY PLAN
-----------------------------------------------------
+ QUERY PLAN
+-------------------------------------------
HashAggregate
Group Key: parallel_restricted(unique1)
- -> Index Only Scan using tenk1_unique1 on tenk1
-(3 rows)
+ -> Gather
+ Workers Planned: 4
+ -> Parallel Seq Scan on tenk1
+(5 rows)
set force_parallel_mode=1;
explain (costs off)
We know that different block sizes cause some test failures, mainly
because of row ordering differences. But this looked a bit different.
The size of the tenk1 table is very similar under either block size:
16k: tenk1 = 2883584
8k: tenk1 = 2932736
Is there an explanation for this difference, or is there something wrong
in the cost estimation somewhere?
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
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: peter.eisentraut@2ndquadrant.com
Subject: Re: select_parallel test fails with nonstandard block size
In-Reply-To: <90634e20-097a-e4fd-67d5-fb2c42f0dd71@2ndquadrant.com>
References: <90634e20-097a-e4fd-67d5-fb2c42f0dd71@2ndquadrant.com>
* 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