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

From Doug McNaught
Subject Re: is it possible to get the optimizer to use indexes
Date
Msg-id 87d6alsi2i.fsf@asmodeus.mcnaught.org
Whole thread Raw
In response to why do optimizer parameters have to be set manually?  ("Marinos J. Yannikos" <mjy@geizhals.at>)
Responses Re: is it possible to get the optimizer to use indexes  (Dave Cramer <pg@fastcrypt.com>)
List 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 by date:

Previous
From: Conny Thimren
Date:
Subject: general peformance question
Next
From: "Conny Thimren"
Date:
Subject: general performance question