X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id BC472D9F0F for ; Wed, 26 Oct 2005 12:20:52 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 61160-02 for ; Wed, 26 Oct 2005 15:20:49 +0000 (GMT) Received: from cassarossa.samfundet.no (cassarossa.samfundet.no [129.241.93.19]) by svr1.postgresql.org (Postfix) with ESMTP id AE0F1D6D96 for ; Wed, 26 Oct 2005 12:20:49 -0300 (ADT) Received: from trofast.ipv6.sesse.net ([2001:700:300:dc03:20e:cff:fe36:a766] helo=trofast.sesse.net) by cassarossa.samfundet.no with esmtp (Exim 4.50) id 1EUn54-0000X6-6x for pgsql-performance@postgresql.org; Wed, 26 Oct 2005 17:20:47 +0200 Received: from sesse by trofast.sesse.net with local (Exim 3.36 #1 (Debian)) id 1EUn55-00043g-00 for ; Wed, 26 Oct 2005 17:20:47 +0200 Date: Wed, 26 Oct 2005 17:20:47 +0200 From: "Steinar H. Gunderson" To: pgsql-performance@postgresql.org Subject: Re: zero performance on query Message-ID: <20051026152047.GA15377@uio.no> Mail-Followup-To: pgsql-performance@postgresql.org References: <6EE64EF3AB31D5448D0007DD34EEB3417DD6AF@Herge.rcsinc.local> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <6EE64EF3AB31D5448D0007DD34EEB3417DD6AF@Herge.rcsinc.local> X-Operating-System: Linux 2.6.14-rc5 on a x86_64 X-Message-Flag: Outlook? --> http://www.mozilla.org/products/thunderbird/ User-Agent: Mutt/1.5.11 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.01 required=5 tests=[AWL=0.010] X-Spam-Level: X-Archive-Number: 200510/386 X-Sequence-Number: 15154 On Wed, Oct 26, 2005 at 08:05:21AM -0400, Merlin Moncure wrote: > select count(*) from fotos f where not exists (select archivo from archivos a where a.archivo = f.archivo) This was an optimization before 7.4, but probably isn't anymore. /* Steinar */ -- Homepage: http://www.sesse.net/