pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@commandprompt.com>
To: Susan Russo <russo@morgan.harvard.edu>
Cc: sgunderson@bigfoot.com
Cc: harvsys@morgan.harvard.edu
Cc: pgsql-performance@postgresql.org
Subject: Re: specific query (not all) on Pg8 MUCH slower than Pg7
Date: Tue, 8 May 2007 11:34:15 -0400
Message-ID: <20070508153415.GJ4685@alvh.no-ip.org> (raw)
In-Reply-To: <200705081519.l48FJtsT028597@larrys.harvard.edu>
References: <200705081519.l48FJtsT028597@larrys.harvard.edu>

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.



view thread (10+ messages)  latest in thread

Message-ID: <20070508153415.GJ4685@alvh.no-ip.org>
Permalink:  ../20070508153415.GJ4685@alvh.no-ip.org/
Also on:    postgresql.org/message-id/20070508153415.GJ4685@alvh.no-ip.org

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: alvherre@commandprompt.com, russo@morgan.harvard.edu, sgunderson@bigfoot.com, harvsys@morgan.harvard.edu
  Subject: Re: specific query (not all) on Pg8 MUCH slower than Pg7
  In-Reply-To: <20070508153415.GJ4685@alvh.no-ip.org>
  References: <200705081519.l48FJtsT028597@larrys.harvard.edu> <20070508153415.GJ4685@alvh.no-ip.org>

* 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