Re: Does Postgresql 10 query partitions in parallel? - Mailing list pgsql-general

From Thomas Kellerer
Subject Re: Does Postgresql 10 query partitions in parallel?
Date
Msg-id p09kig$o7e$1@blaine.gmane.org
Whole thread Raw
In response to Re: Does Postgresql 10 query partitions in parallel?  (John R Pierce <pierce@hogranch.com>)
List 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
is2
 

In 9.6 the default was 0

Thomas








pgsql-general by date:

Previous
From: John R Pierce
Date:
Subject: Re: Does Postgresql 10 query partitions in parallel?
Next
From: Thomas Kellerer
Date:
Subject: Re: Does Postgresql 10 query partitions in parallel?