Re: Postgres 9.6 Parallel Query

From: Rafia Sabih <rafia(dot)sabih(at)enterprisedb(dot)com>
To: basti <mailinglist(at)unix-solution(dot)de>
Cc: pgsql <pgsql-general(at)postgresql(dot)org>
Subject: Re: Postgres 9.6 Parallel Query
Date: 2017-05-11 03:48:59
Message-ID: CAOGQiiN1TJyFwupkegudzWVcDva88BSCeu30JpP4KgtW5zNWAQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Apr 27, 2017 at 6:38 PM, basti <mailinglist(at)unix-solution(dot)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/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Melvin Davidson 2017-05-11 12:50:41 Re:
Previous Message Igor Korot 2017-05-11 03:26:29 Re: