Re: Sort and index

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Sort and index
Дата
Msg-id 19631.1113966086@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Sort and index  ("Jim C. Nasby" <decibel@decibel.org>)
Ответы Re: Sort and index
Список pgsql-performance
"Jim C. Nasby" <decibel@decibel.org> writes:
> Actually, the planner (at least in 7.4) isn't smart enough to consider
> if the sort would fit in memory or not.

Really?  Have you read cost_sort()?

It's certainly possible that the calculation is all wet, but to claim
that the issue is not considered is just wrong.

            regards, tom lane

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

Предыдущее
От: "Jim C. Nasby"
Дата:
Сообщение: Slow copy with little CPU/disk usage
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: What to do with 6 disks?