| От | Jean-Luc Lachance |
|---|---|
| Тема | Re: order of nested loop |
| Дата | |
| Msg-id | 3EEF3961.9F295E7B@nsd.ca обсуждение исходный текст |
| Ответ на | order of nested loop (Joseph Shraibman <jks@selectacast.net>) |
| Ответы |
Re: order of nested loop
|
| Список | pgsql-general |
Tom Lane wrote: > > 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 There is only a small difference, but distinct implies unique index which mean there is no need to sort duplicate records.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера