From: Carlo Stonebanks <stonec.register@sympatico.ca>
To: 'Merlin Moncure' <mmoncure@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Query works when kludged, but would prefer "best practice" solution
Date: Mon, 17 Sep 2007 20:13:18 -0400
Message-ID: <E2AE41090F56435280513F7E6B3AA78C@serenity> (raw)
In-Reply-To: <b42b73150709171703nac1641dk77754bd68606c91d@mail.gmail.com>
References: <fcmnm1$24mj$1@news.hub.org>
<b42b73150709171703nac1641dk77754bd68606c91d@mail.gmail.com>
Well, there goes my dream of getting a recommendation that will deliver a
blinding insight into how to speed up all of my queries a thousand-fold.
Thanks Merlin!
-----Original Message-----
From: Merlin Moncure [mailto:mmoncure@gmail.com]
Sent: September 17, 2007 8:03 PM
To: Carlo Stonebanks
Cc: pgsql-performance@postgresql.org
Subject: Re: [PERFORM] Query works when kludged, but would prefer "best
practice" solution
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-PostgreSQ
L-Weekly-News-September-03-2007.html
(look fro band-aid).
If that's the case, the solution is to wait for 8.2.5 (coming soon).
merlin
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: stonec.register@sympatico.ca, mmoncure@gmail.com
Subject: Re: Query works when kludged, but would prefer "best practice" solution
In-Reply-To: <E2AE41090F56435280513F7E6B3AA78C@serenity>
* 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