Re: Rename max_parallel_degree?

From: Geoff Winkless <pgsqladmin(at)geoff(dot)dj>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Bruce Momjian <bruce(at)momjian(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Rename max_parallel_degree?
Date: 2016-04-25 12:18:20
Message-ID: CAEzk6feOwm3KsGWuiLUfOfiZqzA-a-GtboOqvuWcN349P-ydDw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 25 April 2016 at 03:44, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
> On Sun, Apr 24, 2016 at 2:23 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>> FWIW, I agree with Bruce that using "degree" here is a poor choice.
>> It's an unnecessary dependence on technical terminology that many people
>> will not be familiar with.
>
> And many others will. Some made-up term that is entirely
> PostgreSQL-specific is not going to be better.

Just to add my 2c, "degree" implies some sort of graded scale. So
setting it to (say) 10 would be "maximum", setting to 0 would be
"none" and setting it to anything in between would be relative to the
maximum.

eg in Vol26 "Encyclopedia of Computer Science and Technology" (the
first compsci reference that appeared for a google search) there are
three levels of granularity of degrees of parallelism.

https://books.google.co.uk/books?id=z4KECsT59NwC&pg=PA41&lpg=PA41&dq=degree+of+parallelism

Frankly it seems that the SQL crowd stole the computer science term
and applied it incorrectly.

Having a configuration option "_workers" makes much more sense to me.
It absolutely describes what it does without needing to refer to a
manual, and it removes ambiguity.

Geoff

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Craig Ringer 2016-04-25 12:31:16 Re: Updated backup APIs for non-exclusive backups
Previous Message Alexander Korotkov 2016-04-25 12:18:01 Re: Ordering in guc.c vs. config.sgml vs. postgresql.sample.conf