Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fQxTD-0003Fe-3U for pgsql-bugs@arkaria.postgresql.org; Thu, 07 Jun 2018 16:09:03 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fQxTB-0004eC-KN for pgsql-bugs@arkaria.postgresql.org; Thu, 07 Jun 2018 16:09:01 +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.89) (envelope-from ) id 1fQxTB-0004e3-EB for pgsql-bugs@lists.postgresql.org; Thu, 07 Jun 2018 16:09:01 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fQxT9-0003X5-0g for pgsql-bugs@lists.postgresql.org; Thu, 07 Jun 2018 16:09:00 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id w57G8tQG024023; Thu, 7 Jun 2018 12:08:55 -0400 From: Tom Lane To: jgardner@comprehend.com cc: pgsql-bugs@lists.postgresql.org Subject: Re: BUG #15232: Query execution changes based on using 'explain analyze' or not In-reply-to: <152838510590.26728.14913938912964455418@wrigleys.postgresql.org> References: <152838510590.26728.14913938912964455418@wrigleys.postgresql.org> Comments: In-reply-to =?utf-8?q?PG_Bug_reporting_form?= message dated "Thu, 07 Jun 2018 15:25:05 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <24021.1528387735.1@sss.pgh.pa.us> Date: Thu, 07 Jun 2018 12:08:55 -0400 Message-ID: <24022.1528387735@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk =?utf-8?q?PG_Bug_reporting_form?= writes: > Testing behavior of parallel scans in 10.4 (looking to upgrade from 9.4) and > I'm only seeing parallel execution if I use "explain analyze". I can't reproduce this here, at least not when submitting the queries through psql. I speculate that you're using some client-side environment that is somehow disabling parallelism for DML but not within a utility command like EXPLAIN ... but it's not very clear what that could be. Please provide a more worked-out example, and be concrete about how you're submitting both the EXPLAIN and the actual query. regards, tom lane