Re: is it possible to get the optimizer to use indexes

Поиск
Список
Период
Сортировка
От Doug McNaught
Тема Re: is it possible to get the optimizer to use indexes
Дата
Msg-id 87d6alsi2i.fsf@asmodeus.mcnaught.org
обсуждение исходный текст
Ответ на why do optimizer parameters have to be set manually?  ("Marinos J. Yannikos" <mjy@geizhals.at>)
Ответы Re: is it possible to get the optimizer to use indexes
Список pgsql-performance
Christopher Kings-Lynne <chriskl@familyhealth.com.au> writes:

>> It appears that the optimizer only uses indexes for = clause?
>
> The optimizer will used indexes for LIKE clauses, so long as the
> clause is a prefix search, eg:
>
> SELECT * FROM test WHERE a LIKE 'prf%';

Doesn't this still depend on your locale?

-Doug

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

Предыдущее
От: Conny Thimren
Дата:
Сообщение: general peformance question
Следующее
От: "Conny Thimren"
Дата:
Сообщение: general performance question