Re: Why is sorting on two columns so slower thansortingon one column?

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Why is sorting on two columns so slower thansortingon one column?
Дата
Msg-id AANLkTim+r8c92DDepkotBe1jgTDPz9c-oeA6V80XbYHw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Why is sorting on two columns so slower thansortingon one column?  (Simon Riggs <simon@2ndQuadrant.com>)
Список pgsql-hackers
On Mon, Dec 27, 2010 at 3:58 AM, Simon Riggs <simon@2ndquadrant.com> wrote:
> I think the answer is that only the first column comparison is
> optimised. Second and subsequent comparisons are not optimised.

What sort of optimization are you referring to here?

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


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

Предыдущее
От: Greg Smith
Дата:
Сообщение: Re: new patch of MERGE (merge_204) & a question about duplicated ctid
Следующее
От: Robert Haas
Дата:
Сообщение: Re: small table left outer join big table