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

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: is it possible to get the optimizer to use indexes
Дата
Msg-id 20031218193514.Q20465@megazone.bigpanda.com
обсуждение исходный текст
Ответ на Re: is it possible to get the optimizer to use indexes  (Dave Cramer <pg@fastcrypt.com>)
Список pgsql-performance
On Thu, 18 Dec 2003, Dave Cramer wrote:

> after vacuum verbose analyze, I still get
>
> explain select * from isppm where item_upc_cd like '06038301234';
>                               QUERY PLAN
> -----------------------------------------------------------------------
>  Seq Scan on isppm  (cost=100000000.00..100009684.89 rows=2 width=791)
>    Filter: (item_upc_cd ~~ '06038301234'::text)
> (2 rows)

IIRC, the other limitation is that it only does so in "C" locale due to
wierdnesses in other locales.

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

Предыдущее
От: Christopher Browne
Дата:
Сообщение: Re: is it possible to get the optimizer to use indexes with a like clause
Следующее
От: Tom Lane
Дата:
Сообщение: Re: is it possible to get the optimizer to use indexes