Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkVlw-0002VE-NU for pgsql-hackers@arkaria.postgresql.org; Thu, 15 Sep 2016 12:28:08 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bkVlu-0007V1-Pg for pgsql-hackers@arkaria.postgresql.org; Thu, 15 Sep 2016 12:28:06 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bkVkX-0005xM-PU for pgsql-hackers@postgresql.org; Thu, 15 Sep 2016 12:26:41 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bkVkU-0001Lj-1B for pgsql-hackers@postgresql.org; Thu, 15 Sep 2016 12:26:41 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 2679720529 for ; Thu, 15 Sep 2016 08:26:36 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute2.internal (MEProxy); Thu, 15 Sep 2016 08:26:36 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=xJetieUvHWHrZ29sMgHYEf8lCBo=; b=SnvSW 1O3zB4lv3p3YeQjz5sk4ot8JJbk1WUjnifVJ3hW3z58REjwo/uq4Ckpb4ctq1unm 7QDy9S2wl+Y11BGf/m9g8rwXVOXsJYd5dHyQb8uhyEAEoTB8kdPj4NOZStVEGnfI T58oqI365sx3a4Wpo5ZlsKfVr216f8/Ss5Drl0= X-Sasl-enc: nSLt/QzFhUiTfz7CbQnWsilTWyr7QylnBF3VTJE0Bztk 1473942395 Received: from april.local (unknown [38.121.57.2]) by mail.messagingengine.com (Postfix) with ESMTPA id D75D1CCE88 for ; Thu, 15 Sep 2016 08:26:35 -0400 (EDT) From: Peter Eisentraut Subject: select_parallel test fails with nonstandard block size Organization: 2ndQuadrant To: pgsql-hackers Message-ID: <90634e20-097a-e4fd-67d5-fb2c42f0dd71@2ndquadrant.com> Date: Thu, 15 Sep 2016 07:26:35 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org 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