Re: Why is Postgres only using 8 cores for partitioned count? [Parallel Append]
От
David Rowley
Тема
Re: Why is Postgres only using 8 cores for partitioned count? [Parallel Append]
Дата
Msg-id
CAApHDvqwycUEc2++3JNFhLS3CsMRx6tGudC6_1JcWrRQHTqy4w@mail.gmail.com
Ответ на
Список
Дерево обсуждения
Why is Postgres only using 8 cores for partitioned count? "Seamus Abshere" <sabshere@alumni.princeton.edu>
Re: Why is Postgres only using 8 cores for partitioned count? [Parallel Append] "Seamus Abshere" <sabshere@alumni.princeton.edu>
700% faster (was: Re: Why is Postgres only using 8 cores for partitioned count? [Parallel append]) "Seamus Abshere" <sabshere@alumni.princeton.edu>
Re: Why is Postgres only using 8 cores for partitioned count? [Parallel Append] David Rowley <dgrowleyml@gmail.com>
Re: Why is Postgres only using 8 cores for partitioned count? [Parallel Append] Gavin Flower <GavinFlower@archidevsys.co.nz>
Re: Why is Postgres only using 8 cores for partitioned count? [Parallel Append] Fabio Pardi <f.pardi@portavita.eu>
Re: Why is Postgres only using 8 cores for partitioned count? [Parallel Append] David Rowley <dgrowleyml@gmail.com>
Re: Why is Postgres only using 8 cores for partitioned count? [Parallel Append] David Rowley <dgrowleyml@gmail.com>
Re: Why is Postgres only using 8 cores for partitioned count? [Parallel Append] "Seamus Abshere" <seamus@abshere.net>
Re: Why is Postgres only using 8 cores for partitioned count? [Parallel Append] Laurenz Albe <laurenz.albe@cybertec.at>
On Tue, 16 Feb 2021 at 02:12, Fabio Pardi wrote: > > On 14/02/2021 22:16, Gavin Flower wrote: > > While I agree it might be good to be able specify the number of workers, sure it would be possible to derive a suitable default based on the number of effective processors available? > > I had the same problem and my conclusion was that it is not possible to go above 8 cores because of Amdahl's law on parallel computing. More here: https://en.wikipedia.org/wiki/Amdahl%27s_law That would really depend on what the non-parallel part of the equation was. There are some plan shapes such as GROUP BY or aggregate queries with very few or just 1 group where the serial portion of the execution is very small indeed. David
В списке pgsql-general по дате отправления
От: David Rowley
Дата:
От: David G. Johnston
Дата: