Re: ORDER BY, LIMIT and indexes

Поиск
Список
Период
Сортировка
От Claudio Freire
Тема Re: ORDER BY, LIMIT and indexes
Дата
Msg-id CAGTBQpaUJz7jWpOdrOLiVteWvbYe8O4n37dy9k4hc2Dx1r5Ceg@mail.gmail.com
обсуждение исходный текст
Ответ на ORDER BY, LIMIT and indexes  (Ivan Voras <ivoras@freebsd.org>)
Ответы Re: ORDER BY, LIMIT and indexes  (Michael Paquier <michael.paquier@gmail.com>)
Список pgsql-performance
On Mon, Aug 5, 2013 at 8:04 PM, Ivan Voras <ivoras@freebsd.org> wrote:
> SELECT * FROM table ORDER BY id DESC LIMIT 10 OFFSET 10
>
> SELECT * FROM table WHERE active ORDER BY id DESC LIMIT 10 OFFSET 10

Did you try explain?


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

Предыдущее
От: Ivan Voras
Дата:
Сообщение: ORDER BY, LIMIT and indexes
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: ORDER BY, LIMIT and indexes