Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eMgU7-0006Dm-4O for pgsql-general@arkaria.postgresql.org; Wed, 06 Dec 2017 20:40:03 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eMgU6-0004oL-Nc for pgsql-general@arkaria.postgresql.org; Wed, 06 Dec 2017 20:40:02 +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 1eMgU6-0004o4-GU for pgsql-general@lists.postgresql.org; Wed, 06 Dec 2017 20:40:02 +0000 Received: from [195.159.176.226] (helo=blaine.gmane.org) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1eMgU3-0007Mf-LO for pgsql-general@postgresql.org; Wed, 06 Dec 2017 20:40:01 +0000 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1eMgTu-0006Zl-K3 for pgsql-general@postgresql.org; Wed, 06 Dec 2017 21:39:50 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-general@postgresql.org From: Thomas Kellerer Subject: Re: Does Postgresql 10 query partitions in parallel? Date: Wed, 6 Dec 2017 21:39:50 +0100 Lines: 21 Message-ID: References: <56dca4c5-f043-abe6-0b4b-cea22a141e63@hogranch.com> <20171206193307.p6mho7faz4oudplm@alap3.anarazel.de> <390d4501-3a5e-0e21-e4d0-678aa5b5b752@hogranch.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@blaine.gmane.org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.21) Gecko/20090302 Thunderbird/2.0.0.21 Mnenhy/0.7.5.666 In-Reply-To: <390d4501-3a5e-0e21-e4d0-678aa5b5b752@hogranch.com> Content-Language: de-DE X-Host-Lookup-Failed: Reverse DNS lookup failed for 195.159.176.226 (failed) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk John R Pierce schrieb am 06.12.2017 um 20:34: >>> PostgreSQL 10 does indeed have a parallel query feature that will use >>> multiple cores.  you have to explicity invoke it. >> "you have to explicitly invoke it" - huh? > > oops, I meant, enable. You are correct for 9.6 where the default was "disabled", but in 10 the default is, that it's enabled: https://www.postgresql.org/docs/current/static/runtime-config-resource.html#GUC-MAX-PARALLEL-WORKERS-PER-GATHER Sets the maximum number of workers that can be started by a single Gather or Gather Merge node [...] The default value is 2 In 9.6 the default was 0 Thomas