Re: B-Tree index not being used

Поиск
Список
Период
Сортировка
От Madison Kelly
Тема Re: B-Tree index not being used
Дата
Msg-id 42C6B0B7.5010006@alteeve.com
обсуждение исходный текст
Ответ на Re: B-Tree index not being used  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-performance
Tom Lane wrote:
> Madison Kelly <linux@alteeve.com> writes:
>
>>   Can anyone see why the index might not be being used?
>
>
> You didn't initdb in 'C' locale.  You can either re-initdb,
> or create a specialized index with a non-default operator class
> to support LIKE.  See the documentation.
>
>             regards, tom lane

I'll look into the non-default op class. I want to keep anything that
tweaks the DB in my code so that a user doesn't need to modify anything
on their system.

Thanks!

Madison

--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Madison Kelly (Digimer)
TLE-BU, The Linux Experience; Back Up
http://tle-bu.thelinuxexperience.com
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: B-Tree index not being used
Следующее
От: Enrico Weigelt
Дата:
Сообщение: Re: investigating slow queries through pg_stat_activity