Re: Full text search with ORDER BY performance issue

Поиск
Список
Период
Сортировка
От Marcin Stępnicki
Тема Re: Full text search with ORDER BY performance issue
Дата
Msg-id 179149fe0907200522s299b619ekd5f4517ddb767181@mail.gmail.com
обсуждение исходный текст
Ответ на Full text search with ORDER BY performance issue  (Krade <krade@krade.com>)
Список pgsql-performance
On Sun, Jul 19, 2009 at 12:07 AM, Krade<krade@krade.com> wrote:
> archive=> explain analyze select * from a where  comment_tsv @@
> plainto_tsquery('love') order by timestamp desc limit 24 offset 0;

What happens if you make it:


select * from (
        select * from a where  comment_tsv @@plainto_tsquery('love')
) xx

order by xx.timestamp desc
limit 24 offset 0;

?

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

Предыдущее
От: Oleg Bartunov
Дата:
Сообщение: Re: Full text search with ORDER BY performance issue
Следующее
От: Robert James
Дата:
Сообщение: Re: Fastest char datatype