Re: Rename max_parallel_degree?
От | Magnus Hagander |
---|---|
Тема | Re: Rename max_parallel_degree? |
Дата | |
Msg-id | CABUevEztPa-X+z90qaJ0LWBVFXoii8dr+5ZJksUJL3bLyoftEA@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Rename max_parallel_degree? (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: Rename max_parallel_degree?
|
Список | pgsql-hackers |
On Sun, Apr 24, 2016 at 8:23 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
Robert Haas <robertmhaas@gmail.com> writes:
> On Sat, Apr 23, 2016 at 11:58 PM, Bruce Momjian <bruce@momjian.us> wrote:
>> Why is the parallelism variable called "max_parallel_degree"? Is that a
>> descriptive name? What does "degree" mean? Why is it not called
>> "max_parallel_workers"?
> Because "degree of parallelism" is standard terminology, I guess.
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.
FWIW, SQL Server calls it "degree of parallelism" as well (https://technet.microsoft.com/en-us/library/ms188611(v=sql.105).aspx). And their configuration option is "max degree of parallelism": https://technet.microsoft.com/en-us/library/ms181007(v=sql.105).aspx.
Oracle also call it "degree of parallelism" (https://docs.oracle.com/cd/E18283_01/server.112/e17110/initparams176.htm).
So it's certainly not a made-up term. And I'd go as far as to say that most people coming from other databases would be familiar with it. It may not be a standard, but clearly it's very close to being that.
В списке pgsql-hackers по дате отправления: