About TSearch2 Performance

Поиск
Список
Период
Сортировка
От Diogo Biazus
Тема About TSearch2 Performance
Дата
Msg-id 3F95106F.2060302@ikono.com.br
обсуждение исходный текст
Ответы Re: About TSearch2 Performance
Список pgsql-general
Hi,

Is there any performance diference between the following SQL commands:

SELECT * FROM documents WHERE content_ix @@ to_tsquery('word1&word2|word3');

SELECT * FROM documents WHERE content_ix @@ to_tsquery('word1') AND
content_ix @@ to_tsquery('word2') OR content_ix @@ to_tsquery('word3');

I'm having to do this on some complex querys to put LIKEs between some
ts_querys.
Does anyone has such experience?

Thanks in advance,

--
Diogo Biazus
diogo@ikono.com.br
http://www.ikono.com.br



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

Предыдущее
От: Jeff
Дата:
Сообщение: Re: lastval(seq) ?
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: lastval(seq) ?