Search Postgresql Archives

Re: Faster distinct query?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wednesday, September 22, 2021, David Rowley <dgrowleyml@xxxxxxxxx> 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.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux