pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Merlin Moncure <mmoncure@gmail.com>
To: Carlo Stonebanks <stonec.register@sympatico.ca>
Cc: pgsql-performance@postgresql.org
Subject: Re: Query works when kludged, but would prefer "best practice" solution
Date: Mon, 17 Sep 2007 20:03:19 -0400
Message-ID: <b42b73150709171703nac1641dk77754bd68606c91d@mail.gmail.com> (raw)
In-Reply-To: <fcmnm1$24mj$1@news.hub.org>
References: <fcmnm1$24mj$1@news.hub.org>

On 9/17/07, Carlo Stonebanks <stonec.register@sympatico.ca> wrote:
> Hi all,
>
> Please see the section marked as "PROBLEM" in "ORIGINAL QUERY" plan below.
> You can see it's pretty slow. Oddly enough, an index for facility_address_id
> is available but not being used, but I suspect it's questionable whether it
> would be an improvement.

This looks like it might be the problem tom caught and rigged a solution to:
http://people.planetpostgresql.org/dfetter/index.php?/archives/134-PostgreSQL-Weekly-News-September-...
(look fro band-aid).

If that's the case, the solution is to wait for 8.2.5 (coming soon).

merlin



view thread (9+ messages)  latest in thread

Message-ID: <b42b73150709171703nac1641dk77754bd68606c91d@mail.gmail.com>
Permalink:  ../b42b73150709171703nac1641dk77754bd68606c91d@mail.gmail.com/
Also on:    postgresql.org/message-id/b42b73150709171703nac1641dk77754bd68606c91d@mail.gmail.com

 · 

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: mmoncure@gmail.com, stonec.register@sympatico.ca
  Subject: Re: Query works when kludged, but would prefer "best practice" solution
  In-Reply-To: <b42b73150709171703nac1641dk77754bd68606c91d@mail.gmail.com>

* 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