Received: from trade-india.com (unknown [130.94.20.28]) by postgresql.org (Postfix) with SMTP id 81CD04758F6 for ; Tue, 9 Apr 2002 17:29:20 -0400 (EDT) Received: (qmail 20684 invoked from network); 9 Apr 2002 21:41:08 -0000 Received: from ptil-235-129-del.primus-india.net (HELO trade-india.com) (203.196.129.235) by 130.94.22.209 with SMTP; 9 Apr 2002 21:41:08 -0000 Message-ID: <3CB35DF8.D26E2055@trade-india.com> Date: Wed, 10 Apr 2002 03:02:41 +0530 From: Rajesh Kumar Mallah X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.2-2 i686) X-Accept-Language: en MIME-Version: 1.0 To: Jean-Luc Lachance Cc: PostgResql SQL Mailing List Subject: Thank you ! Re: Is there any Faster workaround ?? References: <3CB346F6.1DD7CFB9@trade-india.com> <3CB356D8.48F8F5F4@nsd.ca> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200204/110 X-Sequence-Number: 7375 Thanks so much! i think this ques. has been answered before also in this mailing list sorry for asking... regds mallah. Jean-Luc Lachance wrote: > How about: > > DELETE from t_a where exist (select email from t_b where t_b.email = > t_a.email) > > Rajesh Kumar Mallah wrote: > > > > Hi folks, > > > > We require to do below or similar quite often > > > > DELETE from t_a where email in (select email from t_b); > > > > everyone knows "IN" is pain fully slow currently in pgsql > > is the any fster alternative to above query > > > > regds > > Mallah. > > > > ---------------------------(end of broadcast)--------------------------- > > TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org > > ---------------------------(end of broadcast)--------------------------- > TIP 4: Don't 'kill -9' the postmaster