Re: is it possible to get the optimizer to use indexes - Mailing list pgsql-performance

From Stephan Szabo
Subject Re: is it possible to get the optimizer to use indexes
Date
Msg-id 20031218193514.Q20465@megazone.bigpanda.com
Whole thread Raw
In response to Re: is it possible to get the optimizer to use indexes  (Dave Cramer <pg@fastcrypt.com>)
List 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 by date:

Previous
From: Christopher Browne
Date:
Subject: Re: is it possible to get the optimizer to use indexes with a like clause
Next
From: Tom Lane
Date:
Subject: Re: is it possible to get the optimizer to use indexes