pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pg@fastcrypt.com
Cc: Christopher Kings-Lynne <chriskl@familyhealth.com.au>
Cc: pgsql-performance@postgresql.org
Subject: Re: is it possible to get the optimizer to use indexes
Date: Thu, 18 Dec 2003 22:44:00 -0500
Message-ID: <6121.1071805440@sss.pgh.pa.us> (raw)
In-Reply-To: <1071803317.1629.16.camel@localhost.localdomain>
References: <3FE1F5A1.6080908@geizhals.at>
	<60n09q9bqg.fsf@dev6.int.libertyrms.info>
	<1071789528.1629.10.camel@localhost.localdomain>
	<3FE256AA.8000707@familyhealth.com.au>
	<1071803317.1629.16.camel@localhost.localdomain>

Dave Cramer <pg@fastcrypt.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



view thread (11+ messages)  latest in thread

Message-ID: <6121.1071805440@sss.pgh.pa.us>
Permalink:  ../6121.1071805440@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/6121.1071805440@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, pg@fastcrypt.com, chriskl@familyhealth.com.au
  Subject: Re: is it possible to get the optimizer to use indexes
  In-Reply-To: <6121.1071805440@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox