Re: Does Postgresql 10 query partitions in parallel?

From: Thomas Kellerer <spam_eater(at)gmx(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Does Postgresql 10 query partitions in parallel?
Date: 2017-12-06 20:39:50
Message-ID: p09kig$o7e$1@blaine.gmane.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Thomas Kellerer 2017-12-06 20:54:44 Re: Does Postgresql 10 query partitions in parallel?
Previous Message John R Pierce 2017-12-06 19:34:44 Re: Does Postgresql 10 query partitions in parallel?