Re: Faster distinct query?

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: Faster distinct query?
Дата
Msg-id CAKFQuwZdBcBOi6mKnddeCjXjxXSmcLhdpiDSr+4Uuh+scmKwXg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Faster distinct query?  (David Rowley <dgrowleyml@gmail.com>)
Ответы Re: Faster distinct query?  (David Rowley <dgrowleyml@gmail.com>)
Список pgsql-general
On Wednesday, September 22, 2021, David Rowley <dgrowleyml@gmail.com> wrote:
I think writing the query in such a way
that allows it to be parallelised is likely going to result in some
quite good performance improvements. i.e:

Agreed, though if the query author needs to do that here we’ve violated the spirit of the declarative SQL language.  At first blush nothing about the original query seems like it should be preventing parallelism.  Each worker builds its own distinct array then the final concatenation is made distinct.

David J.

В списке pgsql-general по дате отправления:

Предыдущее
От: Israel Brewster
Дата:
Сообщение: Re: Faster distinct query?
Следующее
От: David Rowley
Дата:
Сообщение: Re: Faster distinct query?