Re: order of nested loop

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: order of nested loop
Дата
Msg-id 13145.1055864458@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: order of nested loop  (Jean-Luc Lachance <jllachan@nsd.ca>)
Список pgsql-general
Jean-Luc Lachance <jllachan@nsd.ca> writes:
> I am currious.  Why perform a sort first?  Would it not be more
> efficient to create an in memory index on the fly?

Why would you think that?  Creating an index involves a sort ...
there's no free lunch there that I can see.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Sort memory not being released
Следующее
От: Jean-Luc Lachance
Дата:
Сообщение: Re: order of nested loop