Re: Sorting on longer key is faster ?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Sorting on longer key is faster ?
Дата
Msg-id 12961.1121125670@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Sorting on longer key is faster ?  ("jobapply" <jobapply@nextmail.ru>)
Список pgsql-performance
"jobapply" <jobapply@nextmail.ru> writes:
> The 2 queries are almost same, but ORDER BY x||t is FASTER than ORDER BY x..
> How can that be possible?

Hmm, how long are the x values?  Is it possible many of them are
TOASTed?

            regards, tom lane

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

Предыдущее
От: John A Meinel
Дата:
Сообщение: Re: Sorting on longer key is faster ?
Следующее
От: John A Meinel
Дата:
Сообщение: Re: Sorting on longer key is faster ?