Re: Wildcard searches & performance question

Поиск
Список
Период
Сортировка
От Rod Taylor
Тема Re: Wildcard searches & performance question
Дата
Msg-id 1054065986.93507.43.camel@jester
обсуждение исходный текст
Ответ на Wildcard searches & performance question  (Grega Bremec <grega.bremec@noviforum.si>)
Список pgsql-performance
> feasible in such cases? Or in other words, can I somehow optimize LIKE and
> regexp queries that start with a wildcard?

If they start with a wildcard, but end in character data you could
reverse the string and index that...

If they start and end with a wildcard, your best bet is a full text
indexing solution (various contrib modules).

--
Rod Taylor <rbt@rbt.ca>

PGP Key: http://www.rbt.ca/rbtpub.asc

Вложения

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

Предыдущее
От: "scott.marlowe"
Дата:
Сообщение: Re: Wildcard searches & performance question
Следующее
От: Peter Lavender
Дата:
Сообщение: ...