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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pg(at)fastcrypt(dot)com
Cc: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>, pgsql-performance(at)postgresql(dot)org
Subject: Re: is it possible to get the optimizer to use indexes
Date: 2003-12-19 03:44:00
Message-ID: 6121.1071805440@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Dave Cramer <pg(at)fastcrypt(dot)com> writes:
> after vacuum verbose analyze, I still get [a seqscan]

The other gating factor is that you have to have initdb'd in C locale.
Non-C locales tend to use wild and wooly sort orders that are not
compatible with what LIKE needs.

regards, tom lane

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Dave Cramer 2003-12-19 09:50:12 Re: is it possible to get the optimizer to use indexes
Previous Message Stephan Szabo 2003-12-19 03:36:02 Re: is it possible to get the optimizer to use indexes