X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 28E46D1C4B8 for ; Wed, 13 Aug 2003 14:50:51 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 30120-02 for ; Wed, 13 Aug 2003 11:49:19 -0300 (ADT) Received: from irko.smoothcorp.com (unknown [208.49.241.41]) by svr1.postgresql.org (Postfix) with ESMTP id B3133D1B524 for ; Wed, 13 Aug 2003 11:50:39 -0300 (ADT) Received: from [10.0.1.63] (helo=jgardner.smoothcorp.com) by irko.smoothcorp.com with esmtp (Exim 4.12) id 19mwxX-0003HU-00; Wed, 13 Aug 2003 07:50:43 -0700 Received: from jgardner.smoothcorp.com (localhost.localdomain [127.0.0.1]) by jgardner.smoothcorp.com (8.12.8/8.12.8) with ESMTP id h7DEoisN032351; Wed, 13 Aug 2003 07:50:44 -0700 Received: from localhost (localhost [[UNIX: localhost]]) by jgardner.smoothcorp.com (8.12.8/8.12.8/Submit) id h7DEog9T032349; Wed, 13 Aug 2003 07:50:42 -0700 From: Jonathan Gardner To: Abdul Wahab Dahalan , pgsql-sql@postgresql.org Subject: Re: How to speeed up the query performance Date: Wed, 13 Aug 2003 07:50:41 -0700 User-Agent: KMail/1.5 References: <3F39AE9A.5020901@mimos.my> In-Reply-To: <3F39AE9A.5020901@mimos.my> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Description: clearsigned data Content-Disposition: inline Message-Id: <200308130750.42570.jgardner@jonathangardner.net> X-SA-Exim-Rcpt-To: wahab@mimos.my, pgsql-sql@postgresql.org X-SA-Exim-Scanned: No; SAEximRunCond expanded to false X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200308/136 X-Sequence-Number: 14752 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday 12 August 2003 20:20, Abdul Wahab Dahalan wrote: > How do I speed up the quey performance if I've a query like this : > Does 'not in' command will affected the performance?. > Yes. Severely. See the responses to the "How to optimize this query ?"=20 thread. If you want more details, check the pgsql-performance archives. - --=20 Jonathan Gardner Live Free, Use Linux! -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE/OlBBWgwF3QvpWNwRAuzJAJ99iMmMbU/tiJhi077+8WCmAId76ACffL+5 biOZSLPbuhWZBL6MNlZE3V0=3D =3DSg0n -----END PGP SIGNATURE-----