Re: specific query (not all) on Pg8 MUCH slower than Pg7 - Mailing list pgsql-performance

From Alvaro Herrera
Subject Re: specific query (not all) on Pg8 MUCH slower than Pg7
Date
Msg-id 20070508153415.GJ4685@alvh.no-ip.org
Whole thread Raw
In response to Re: specific query (not all) on Pg8 MUCH slower than Pg7  (Susan Russo <russo@morgan.harvard.edu>)
Responses Re: specific query (not all) on Pg8 MUCH slower than Pg7  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-performance
Susan Russo wrote:
> Hi,
>
> >You could always try
> >
> >  CREATE INDEX test_index ON dbxref (accession varchar_pattern_ops);
>
> WOW!  we're now at runtime 0.367ms on Pg8
>
> Next step is to initdb w/C Locale (tonight) (Thanks Tom et al.!).

That's alternative to the pattern_ops index; it won't help you obtain a
plan faster than this one.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

pgsql-performance by date:

Previous
From: Susan Russo
Date:
Subject: Re: specific query (not all) on Pg8 MUCH slower than Pg7
Next
From: Tom Lane
Date:
Subject: Re: Nested loops overpriced