Re: Does Postgresql 10 query partitions in parallel?

Поиск
Список
Период
Сортировка
От Thomas Kellerer
Тема Re: Does Postgresql 10 query partitions in parallel?
Дата
Msg-id p09kig$o7e$1@blaine.gmane.org
обсуждение исходный текст
Ответ на Re: Does Postgresql 10 query partitions in parallel?  (John R Pierce <pierce@hogranch.com>)
Список 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 по дате отправления:

Предыдущее
От: John R Pierce
Дата:
Сообщение: Re: Does Postgresql 10 query partitions in parallel?
Следующее
От: Thomas Kellerer
Дата:
Сообщение: Re: Does Postgresql 10 query partitions in parallel?