Re: cpu-intensive immutable function and parallel scan

2021-06-22 Thread Tom Lane
David Rowley writes: > On Tue, 22 Jun 2021 at 19:06, Niels Jespersen wrote: >> I think I could achieve some speedup by parallelizing further, distributing >> the cpu-work among additional workers. But, how do I achive that best? > You'll want to ensure max_parallel_workers_per_gather is set hig

Re: cpu-intensive immutable function and parallel scan

2021-06-22 Thread David Rowley
On Tue, 22 Jun 2021 at 19:06, Niels Jespersen wrote: > I think I could achieve some speedup by parallelizing further, distributing > the cpu-work among additional workers. But, how do I achive that best? You'll want to ensure max_parallel_workers_per_gather is set high enough and you have max_pa