From: Alvaro Herrera <alvherre@commandprompt.com>
To: Drew Wilson <drewmwilson@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Many to many join seems slow?
Date: Tue, 15 May 2007 10:05:06 -0400
Message-ID: <20070515140505.GF6298@alvh.no-ip.org> (raw)
In-Reply-To: <49735678-25F5-48AA-B464-0864BAE56B55@gmail.com>
References: <49735678-25F5-48AA-B464-0864BAE56B55@gmail.com>
Drew Wilson escribió:
> =# explain SELECT s.source_id, s.value AS sourceValue, t.value AS
> translationValue
> FROM
> source s,
> translation_pair tp,
> translation t,
> language l
> WHERE
> s.source_id = tp.source_id
> AND tp.translation_id = t.translation_id
> AND t.language_id = l.language_id
> AND l.name = 'French' ;
Please provide an EXPLAIN ANALYZE of the query.
--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.
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, drewmwilson@gmail.com
Subject: Re: Many to many join seems slow?
In-Reply-To: <20070515140505.GF6298@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