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

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: simple case using index on windows but not on linux


  • From: "Dave Dutcher" <dave(at)tridecap(dot)com>
  • To: "'simon godden'" <sgodden(at)gmail(dot)com>
  • Cc: "'Postgresql Performance'" <pgsql-performance(at)postgresql(dot)org>
  • Subject: Re: simple case using index on windows but not on linux
  • Date: Wed, 4 Oct 2006 09:12:07 -0500
  • Message-id: <009001c6e7bf$13d58d10$8300a8c0(at)tridecap(dot)com>

> -----Original Message-----
> From: pgsql-performance-owner(at)postgresql(dot)org 
> [mailto:pgsql-performance-owner(at)postgresql(dot)org] On Behalf Of 
> 
> lc_collate is C, as are all the other lc settings.
> 
> I have run the analyze commands.
> 
> Still the same.


That is strange.  I figured it had to be related to the locale and the LIKE
operator.  I'm not an expert on these locale issues, but I'd be curious to
see if it would start using an index if you added an index like this:

CREATE INDEX test_index ON t_order (c_number varchar_pattern_ops);

Dave




Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group