Re: simple patch for discussion
От | Andres Freund |
---|---|
Тема | Re: simple patch for discussion |
Дата | |
Msg-id | zf4uvkvvmwnbd5s6q2jp5mb6uh5vlqpnrzepd4okfuum3sckuv@psblck2vhlwe обсуждение исходный текст |
Ответ на | Re: simple patch for discussion (David Rowley <dgrowleyml@gmail.com>) |
Ответы |
Re: simple patch for discussion
|
Список | pgsql-hackers |
Hi, On 2025-07-17 15:01:55 +1200, David Rowley wrote: > On Thu, 17 Jul 2025 at 12:44, Greg Hennessy <greg.hennessy@gmail.com> wrote: > > workers, but there isn't an easy way to get more > > workers. > > Is "alter table ... set (parallel_workers=N);" not easy enough? I don't think that's a great approach, as that basically means the user has to do all the computation for how many workers are a good idea themselves. Manually setting it obviously doesn't deal with future growth etc. Right now we basically assume that the benefit of parallelism reduces substantially with every additional parallel worker, but for things like seqscans that's really not true. I've seen reasonably-close-to-linear scalability for parallel seqscans up to 48 workers (the CPUs in the system I tested on). Given that our degree-of-parallelism logic doesn't really make sense. Greetings, Andres Freund
В списке pgsql-hackers по дате отправления: