Re: specific query (not all) on Pg8 MUCH slower than Pg7

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Susan Russo <russo(at)morgan(dot)harvard(dot)edu>
Cc: sgunderson(at)bigfoot(dot)com, harvsys(at)morgan(dot)harvard(dot)edu, pgsql-performance(at)postgresql(dot)org
Subject: Re: specific query (not all) on Pg8 MUCH slower than Pg7
Date: 2007-05-08 15:34:15
Message-ID: 20070508153415.GJ4685@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Tom Lane 2007-05-08 15:53:13 Re: Nested loops overpriced
Previous Message Peter Eisentraut 2007-05-08 15:22:16 Nested loops overpriced