Re: Rename max_parallel_degree?
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Amit Kapila <amit.kapila16@gmail.com>
Cc: Josh berkus <josh@agliodbs.com>, Peter Geoghegan <pg@heroku.com>,
Robert Haas <robertmhaas@gmail.com>, Noah Misch <noah@leadboat.com>,
David Rowley <david.rowley@2ndquadrant.com>,
Alvaro Herrera <alvherre@2ndquadrant.com>,
Magnus Hagander <magnus@hagander.net>,
Bruce Momjian <bruce@momjian.us>,
PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2016-06-01T14:10:45Z
Lists: pgsql-hackers
Amit Kapila <amit.kapila16@gmail.com> writes: > Your explanation is clear, however the name max_parallel_workers makes it > sound like that parallelising an operation is all about workers. Yes it > depends a lot on the number of workers allocated for parallel operation, > but that is not everything. I think calling it max_parallelism as > suggested by Alvaro upthread suits better than max_parallel_workers. I don't think that's a good direction at all. This entire discussion is caused by the fact that it's not very clear what "max_parallel_degree" measures. Fixing that problem by renaming the variable to something that doesn't even pretend to tell you what it's counting is not an improvement. regards, tom lane