Re: ORDER BY user defined function performance issues

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: ORDER BY user defined function performance issues
Дата
Msg-id 16729.1086976782@sss.pgh.pa.us
обсуждение исходный текст
Ответ на ORDER BY user defined function performance issues  (Nick Trainor <nick.trainor@trainorthornton.co.uk>)
Список pgsql-performance
Nick Trainor <nick.trainor@trainorthornton.co.uk> writes:
> What am I missing here?

The ORDER BY query has to evaluate the function at *every* row of the
table before it can sort.  The other query was only evaluating the
function at twenty rows.

            regards, tom lane

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