Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-performance by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group