Re: Limited Sort

Поиск
Список
Период
Сортировка
От Gregory Stark
Тема Re: Limited Sort
Дата
Msg-id 87zmcxt44k.fsf@enterprisedb.com
обсуждение исходный текст
Ответ на Re: Limited Sort  (Teodor Sigaev <teodor@sigaev.ru>)
Список pgsql-hackers
Teodor Sigaev <teodor@sigaev.ru> writes:

> When we was talking about optimizing 'ORDER BY .. LIMIT' with Oleg and Alvaro
> at conference, we was thinking to make new executor's node - Partial Sort. And
> planner may choose which nodes to use: nodeSort and nodeLimit or
> nodePartialSort.

That's an interesting option too. Certainly it preserves the kind of
separation between nodes that we have currently. It also might make costing
the plan more practical.

The downside would be that we would start having a proliferation of nodes.
Several node types can take advantage of a limit. 

--  Gregory Stark EnterpriseDB          http://www.enterprisedb.com


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

Предыдущее
От: "Rocco Altier"
Дата:
Сообщение: Re: 8.2 beta blockers
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: 8.2 beta blockers