Re: [GENERAL] Postgres 9.6 Parallel Query

Поиск
Список
Период
Сортировка
От Rafia Sabih
Тема Re: [GENERAL] Postgres 9.6 Parallel Query
Дата
Msg-id CAOGQiiN1TJyFwupkegudzWVcDva88BSCeu30JpP4KgtW5zNWAQ@mail.gmail.com
обсуждение исходный текст
Ответ на [GENERAL] Postgres 9.6 Parallel Query  (basti <mailinglist@unix-solution.de>)
Список pgsql-general
On Thu, Apr 27, 2017 at 6:38 PM, basti <mailinglist@unix-solution.de> wrote:
> Hello,
>
> is there a recomment to set max_worker_processes and
> max_parallel_workers_per_gather per cpu core or thread?
>
This largely depends on what type of processing is done by parallel
workers, e.g. if the task is I/O bound then having workers equal to
h/w threads would be beneficial since less time will spent in CPU,
however if the task is CPU bound then workers more than cpu cores is
not likely to give much performance improvement as they'll be
contending for CPU cycles.

--
Regards,
Rafia Sabih
EnterpriseDB: http://www.enterprisedb.com/


В списке pgsql-general по дате отправления:

Предыдущее
От: Igor Korot
Дата:
Сообщение: Re: [GENERAL]
Следующее
От: Melvin Davidson
Дата:
Сообщение: Re: [GENERAL]