Re: select distinct runs slow on pg 10.6

Поиск
Список
Период
Сортировка
От Michael Lewis
Тема Re: select distinct runs slow on pg 10.6
Дата
Msg-id CAHOFxGqQjRceFiOuEXJmpRi+XAdrZRf4xYZ7gTtyVACoFe1a6w@mail.gmail.com
обсуждение исходный текст
Ответ на Re: select distinct runs slow on pg 10.6  (Flo Rance <trourance@gmail.com>)
Ответы Re: select distinct runs slow on pg 10.6  (yash mehta <yash215@gmail.com>)
Список pgsql-performance
If you can't modify the query, then there is nothing more to be done to optimize the execution afaik. Distinct is much slower than group by in scenarios like this with many columns. You already identified the disk sort and increased work mem to get it faster by 3x. There are not any other tricks of which I am aware.

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

Предыдущее
От: Flo Rance
Дата:
Сообщение: Re: select distinct runs slow on pg 10.6
Следующее
От: yash mehta
Дата:
Сообщение: Re: select distinct runs slow on pg 10.6