Re: [SQL] How can I optimize a research on text field?

Поиск
Список
Период
Сортировка
От Mike Meyer
Тема Re: [SQL] How can I optimize a research on text field?
Дата
Msg-id Pine.BSF.4.05.9810301017590.5269-100000@guru.phone.net
обсуждение исходный текст
Ответ на How can I optimize a research on text field?  (Jerome Knobl <jknobl@mandanet.ch>)
Ответы Re: [SQL] How can I optimize a research on text field?  ("G.Elangovan " <elangog@wipinfo.soft.net>)
Список pgsql-sql
On Fri, 30 Oct 1998, Jerome Knobl wrote:
> I tried btree and hash method, but when I make a clause like : where nom
> like '%PICASSO%'; the request don't use any index!?!

Check the FAQ, question 3.10 (or thereabouts). Text searches only use
the index if they are searching for text at the start of the field.

    <mike



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

Предыдущее
От: Jerome Knobl
Дата:
Сообщение: How can I optimize a research on text field?
Следующее
От: "pgateau ."
Дата:
Сообщение: sql libpq access to varchar column