Thanks to visit codestin.com
Credit goes to postgrespro.com

Re: Query becoming slower on adding a primary key - Mailing list pgsql-sql

[email protected] writes:
> tradein_clients=# explain analyze select  email_id ,email ,contact from
> t_a a join email_source f using(email_id) join email_subscriptions h
> using(email_id) where 1=1 and f.source_id =1 and h.sub_id = 3  ;

> Runs for Ever.

So what does plain explain say about it?
        regards, tom lane


pgsql-sql by date:

Previous
From: [email protected]
Date:
Subject: Query becoming slower on adding a primary key
Next
From: "Matthew Nuzum"
Date:
Subject: most efficient way to manage ordering