Re: Choosing parallel_degree

From: Julien Rouhaud <julien(dot)rouhaud(at)dalibo(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: David Rowley <david(dot)rowley(at)2ndquadrant(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, James Sewell <james(dot)sewell(at)lisasoft(dot)com>
Subject: Re: Choosing parallel_degree
Date: 2016-03-16 17:23:45
Message-ID: 56E996A1.9070008@dalibo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 16/03/2016 17:55, Robert Haas wrote:
> On Wed, Mar 16, 2016 at 12:47 PM, Julien Rouhaud
> <julien(dot)rouhaud(at)dalibo(dot)com> wrote:
>> Something like a "min_parallel_degree" then ?
>
> Why not just parallel_degree without any prefix? As in, when scanning
> this table in parallel, the reloption suggests using N workers.
>

Agreed.

PFA v2 that implements that.

--
Julien Rouhaud
http://dalibo.com - http://dalibo.org

Attachment Content-Type Size
choose_parallel_degree_v2.diff text/x-patch 10.2 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2016-03-16 17:24:16 Re: [PATCH] Integer overflow in timestamp[tz]_part() and date/time boundaries check
Previous Message Pavel Stehule 2016-03-16 17:02:35 Re: Idle In Transaction Session Timeout, revived