| От | 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?
|
| Список | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера