From: Tom Lane <tgl@sss.pgh.pa.us>
To: mallah@trade-india.com
Cc: pgsql-sql@postgresql.org
Subject: Re: Query becoming slower on adding a primary key
Date: Tue, 01 Jun 2004 17:36:49 -0400
Message-ID: <16609.1086125809@sss.pgh.pa.us> (raw)
In-Reply-To: <33303.192.168.0.100.1086117670.squirrel@system67.trade-india-local.com>
References: <33303.192.168.0.100.1086117670.squirrel@system67.trade-india-local.com>
mallah@trade-india.com 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
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-sql@postgresql.org
Cc: tgl@sss.pgh.pa.us, mallah@trade-india.com
Subject: Re: Query becoming slower on adding a primary key
In-Reply-To: <16609.1086125809@sss.pgh.pa.us>
* 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