pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Kellerer <spam_eater@gmx.net>
To: pgsql-general@postgresql.org
Subject: Re: Does Postgresql 10 query partitions in parallel?
Date: Wed, 6 Dec 2017 21:39:50 +0100
Message-ID: <p09kig$o7e$1@blaine.gmane.org> (raw)
In-Reply-To: <390d4501-3a5e-0e21-e4d0-678aa5b5b752@hogranch.com>
References: <CAO5258=ZujLDMM4DgNZAf4AoDEn2=xwY6vj1owb5T7AU5k11-w@mail.gmail.com>
	<56dca4c5-f043-abe6-0b4b-cea22a141e63@hogranch.com>
	<20171206193307.p6mho7faz4oudplm@alap3.anarazel.de>
	<390d4501-3a5e-0e21-e4d0-678aa5b5b752@hogranch.com>

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...

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










view thread (6+ messages)  latest in thread

Message-ID: <p09kig$o7e$1@blaine.gmane.org>
Permalink:  ../p09kig$o7e$1@blaine.gmane.org/
Also on:    postgresql.org/message-id/p09kig$o7e$1@blaine.gmane.org

 · 

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-general@postgresql.org
  Cc: spam_eater@gmx.net
  Subject: Re: Does Postgresql 10 query partitions in parallel?
  In-Reply-To: <p09kig$o7e$1@blaine.gmane.org>
  References: <CAO5258=ZujLDMM4DgNZAf4AoDEn2=xwY6vj1owb5T7AU5k11-w@mail.gmail.com> <56dca4c5-f043-abe6-0b4b-cea22a141e63@hogranch.com> <20171206193307.p6mho7faz4oudplm@alap3.anarazel.de> <390d4501-3a5e-0e21-e4d0-678aa5b5b752@hogranch.com> <p09kig$o7e$1@blaine.gmane.org>

* 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