Re: [PERFORM] Like search performance.

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: [PERFORM] Like search performance.
Дата
Msg-id 200304301033.18357.josh@agliodbs.com
обсуждение исходный текст
Ответ на Like search performance.  ("Diehl, Jeffrey" <jdiehl@sandia.gov>)
Список pgsql-sql
Mike,

> I have a fairly large table with a char(20) field in it which I search on
> quite a bit.  The problem is that I tend to do a lot of
> "...where field like '%-d%'" type searches on this field.
>
> Is there any to speed up this type of search?

Yes.  See the tsearch module in /contrib in your postgresql source.

--
-Josh Berkus
 Aglio Database Solutions
 San Francisco


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

Предыдущее
От: "Diehl, Jeffrey"
Дата:
Сообщение: Like search performance.
Следующее
От: Rajesh Kumar Mallah
Дата:
Сообщение: Re: replace function