Re: Index Usage and Running Times by FullTextSearch with prefix matching

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Index Usage and Running Times by FullTextSearch with prefix matching
Дата
Msg-id 22495.1371135398@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Index Usage and Running Times by FullTextSearch with prefix matching  (rawi <only4com@web.de>)
Ответы Re: Index Usage and Running Times by FullTextSearch with prefix matching  (rawi <only4com@web.de>)
Re: Index Usage and Running Times by FullTextSearch with prefix matching  (rawi <only4com@web.de>)
Re: Index Usage and Running Times by FullTextSearch with prefix matching  (rawi <only4com@web.de>)
Список pgsql-sql
rawi <only4com@web.de> writes:
> And querying: FTS with prefix matching:

> SELECT count(a)
> FROM t1
> WHERE a_tsvector @@ to_tsquery('aaa:* & b:* & c:* & d:*')

> (RESULT: count: 619)
> Total query runtime: 21266 ms.

FWIW, I get fairly decent performance for cases like this in HEAD
(at least with a GIN index; GIST seems much less able to do well with
short prefixes).  What PG version are you testing?
        regards, tom lane



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

Предыдущее
От: rawi
Дата:
Сообщение: Index Usage and Running Times by FullTextSearch with prefix matching
Следующее
От: rawi
Дата:
Сообщение: Re: Index Usage and Running Times by FullTextSearch with prefix matching