Re: Re: LIKE and indexes?

Поиск
Список
Период
Сортировка
От Brent R. Matzelle
Тема Re: Re: LIKE and indexes?
Дата
Msg-id 200103152019.f2FKJFx56596@mail.postgresql.org
обсуждение исходный текст
Ответ на LIKE and indexes?  (Alexander Jerusalem <alexander.jerusalem@pop.chello.at>)
Ответы Re: Re: LIKE and indexes?  (Alexander Jerusalem <alexander.jerusalem@pop.chello.at>)
Список pgsql-general
3/15/2001 3:39:27 AM, Alexander Jerusalem <alexander.jerusalem@pop.chello.at>
wrote:

>Thanks for your answer, Alex!
>
>I've done an EXPLAIN and I saw that no index was used although my SQL
>statement had a wild card only at the end as you pointed out ('blah%'). My
>guess is that this is because of the locale support.

How large is the index in question?  I recall reading that PostgreSQL doesn't
utilize an index if the overhead of using it was calculated as higher than a
sequential scan.

Brent


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

Предыдущее
От: "Brent R. Matzelle"
Дата:
Сообщение: Re: ODBC
Следующее
От: "Thomas F. O'Connell"
Дата:
Сообщение: infinity