Re: Order by optimisations?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Order by optimisations?
Дата
Msg-id 14216.1121347936@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Order by optimisations?  (Hannu Krosing <hannu@skype.net>)
Ответы Re: Order by optimisations?  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Re: Order by optimisations?  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Список pgsql-hackers
Hannu Krosing <hannu@skype.net> writes:
> On K, 2005-07-13 at 16:08 +0800, Christopher Kings-Lynne wrote:
>> Does it know that the input to the sort routine is already sorted and 
>> hence is a no-op?

> Yes

No, but in most cases this will use an index and hence will assume that
the index is responsible for ordering.
        regards, tom lane


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

Предыдущее
От: Jochem van Dieten
Дата:
Сообщение: Re: Order by optimisations?
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: windows regression failure - prepared xacts