From: Alvaro Herrera <alvherre@commandprompt.com>
To: Piñeiro <apinheiro@igalia.com>
Cc: Scott Marlowe <smarlowe@g2switchworks.com>
Cc: PSQL-Performance <pgsql-performance@postgresql.org>
Subject: Re: [Fwd: Re: Performance problem with Sarge compared
Date: Tue, 12 Sep 2006 15:08:22 -0400
Message-ID: <20060912190822.GK19178@alvh.no-ip.org> (raw)
In-Reply-To: <1158085711.4349.24.camel@codfix.local.igalia.com>
References: <1158077206.4349.9.camel@codfix.local.igalia.com>
<1158078004.1854.35.camel@state.g2switchworks.com>
<1158085711.4349.24.camel@codfix.local.igalia.com>
Piñeiro wrote:
> El mar, 12-09-2006 a las 11:20 -0500, Scott Marlowe escribió:
> > As Tom asked, post the explain analyze output for this query. I'm
> > guessing there'll be a stage that is creating millions (possibly upon
> > millions) of rows from a cross product.
> >
> Well, yes, it is a friend, but as the select at postgre Sarge version
> never finished I can't use a explain analyze. I show you the explain,
> with the hope that someone has any idea, but i think that this is almost
> indecipherable (if you want the Woody ones i can post the explain
> analyze). Thanks in advance.
The only advice I can give you at this point is to provide both the
EXPLAIN output and the query itself in formats more easily readable for
those that could help you. This EXPLAIN you post below is totally
whitespace-mangled, making it much harder to read than it should be; and
the query you posted, AFAICS, is a continuous stream of lowercase
letters. The EXPLAIN would be much better if you posted it as an
attachment; and the query would be much better if you separated the
logically distinct clauses in different lines, with clean indentation,
using uppercase for the SQL keywords (SELECT, FROM, WHERE, etc). That
way you're more likely to get useful responses.
--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
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: alvherre@commandprompt.com, apinheiro@igalia.com, smarlowe@g2switchworks.com
Subject: Re: [Fwd: Re: Performance problem with Sarge compared
In-Reply-To: <20060912190822.GK19178@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