| От | Tom Lane |
|---|---|
| Тема | Re: Query palns and tug-of-war with enable_sort |
| Дата | |
| Msg-id | 10105.1234982228@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Query palns and tug-of-war with enable_sort (Glyn Astill <glynastill@yahoo.co.uk>) |
| Ответы |
Re: Query palns and tug-of-war with enable_sort
|
| Список | pgsql-general |
Glyn Astill <glynastill@yahoo.co.uk> writes:
> I've slapped together a quick test case that gives the same results
> with explain even when I have no data in the tables and haven't
> analyzed them.
No, those aren't the same plans. In particular what's bothering me is
the lack of any sort in the first plan you showed (the one with
HashAggregate at the top). That shouldn't be possible because of the
ORDER BY --- a hash aggregate will deliver unsorted output so there
should be a sort step above it.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера