Re: Many to many join seems slow?

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Drew Wilson <drewmwilson(at)gmail(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Many to many join seems slow?
Date: 2007-05-15 14:05:06
Message-ID: 20070515140505.GF6298@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

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.

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Drew Wilson 2007-05-15 14:11:40 Re: Many to many join seems slow?
Previous Message Drew Wilson 2007-05-15 13:57:55 Many to many join seems slow?