Re: Which one is faster?

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Which one is faster?
Дата
Msg-id 200206192034.g5JKYn616099@candle.pha.pa.us
обсуждение исходный текст
Ответ на Which one is faster?  (Wei Weng <wweng@kencast.com>)
Список pgsql-sql
Wei Weng wrote:
> Between Using Limit P, S or using a cursor to start from FETCH ABSOLUTE
> S and FETCH NEXT for P times, which one is faster?

LIMIT is faster because it doesn't need to generate all the result, in
some cases.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


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

Предыдущее
От: Wei Weng
Дата:
Сообщение: Re: syntax for access an alias in the where clause ?
Следующее
От: "afa"
Дата:
Сообщение: Assign values to array