Re: Getting number of matched records from query

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: Getting number of matched records from query
Дата
Msg-id 20031101214918.D58021@megazone.bigpanda.com
обсуждение исходный текст
Ответ на Getting number of matched records from query  (Michael Owens <mike@mikesclutter.com>)
Список pgsql-hackers
On Sat, 1 Nov 2003, Michael Owens wrote:

> Isn't this information (the number of matched records) available to the
> backend --- even in the case of LIMIT? All matched records still have to be
> materialized right? Therefore the record count should be available and could
> therefore be available to the client. Is this correct?

No.  For many plans, the entire record set does not have to be fully
materialized in the presence of LIMIT. In general, the limit node should
have the effect of making such plans more likely to be chosen.


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

Предыдущее
От: Michael Owens
Дата:
Сообщение: Getting number of matched records from query
Следующее
От: Christopher Kings-Lynne
Дата:
Сообщение: SQL supported features list