LIMIT: does it cause the query to find all matching sets first?

Поиск
Список
Период
Сортировка
От Jean-Christian Imbeault
Тема LIMIT: does it cause the query to find all matching sets first?
Дата
Msg-id 3D985C8F.9070204@mega-bucks.co.jp
обсуждение исходный текст
Ответы Re: LIMIT: does it cause the query to find all matching sets first?  (Bruno Wolff III <bruno@wolff.to>)
Re: LIMIT: does it cause the query to find all matching sets first?  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: LIMIT: does it cause the query to find all matching sets  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-general
Does using LIMIT cause query execution to stop as soon as the LIMIT
number of matches have been found, or are *all* the matching rows found
first and then the first LIMIT number are returned?

Of course this would be for a query without and ORDER BY clause.

Jc


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

Предыдущее
От: "Johnson, Shaunn"
Дата:
Сообщение: Errors reloading with pg_dump
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Beta2 - A Late Announcement