Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-performance by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group