Re: LC_COLLATE and index usage

Поиск
Список
Период
Сортировка
От Ralph Graulich
Тема Re: LC_COLLATE and index usage
Дата
Msg-id Pine.LNX.4.53.0305080223290.17769@shauny.shauny.de
обсуждение исходный текст
Ответ на Re: LC_COLLATE and index usage  (Karsten Hilbert <Karsten.Hilbert@gmx.net>)
Список pgsql-general
Hi Karsten,

> Question seconded (and tacit suggestion for a TODO item) on
> behalf of GnuMed (www.gnumed.org).

Depending on how your LIKE searches look like, you can use a little work
around, which improves speed dramatically. In case you need to search like
"<String>%", you can use a second table containing each possible
combination of the search string, a fixed length field and JOIN that
helper table.

So you can change your LIKE search to a search for a string of fixed
length.


Kind regards
... Ralph ...


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

Предыдущее
От: Max Baker
Дата:
Сообщение: Re: age() and date intervals
Следующее
От: Karsten Hilbert
Дата:
Сообщение: Re: LC_COLLATE and index usage