X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 83AC09DCAD1 for ; Wed, 22 Mar 2006 15:07:43 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 19821-02 for ; Wed, 22 Mar 2006 15:07:43 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from isb.com.pl (isb.com.pl [212.160.150.140]) by postgresql.org (Postfix) with ESMTP id 310E49DCA84 for ; Wed, 22 Mar 2006 15:07:41 -0400 (AST) Received: from maciek (sembrz [192.168.1.50]) by isb.com.pl (Postfix) with ESMTP id 9FA7257842 for ; Wed, 22 Mar 2006 20:04:17 +0100 (CET) Date: Wed, 22 Mar 2006 20:07:40 +0100 From: Maciej Piekielniak X-Mailer: The Bat! (v1.62r) Reply-To: Maciej Piekielniak X-Priority: 3 (Normal) Message-ID: <672339640.20060322200740@isb.com.pl> To: pgsql-sql@postgresql.org Subject: Re: How to optimize this query? In-Reply-To: <684362e10603221032t4b07f5edu@mail.gmail.com> References: <827987076.20060322181715@isb.com.pl> <684362e10603220958s2dac37cfp@mail.gmail.com> <1731392587.20060322191801@isb.com.pl> <684362e10603221027t354b079bh@mail.gmail.com> <684362e10603221032t4b07f5edu@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.103 required=5 tests=[AWL=0.103] X-Spam-Score: 0.103 X-Spam-Level: X-Archive-Number: 200603/361 X-Sequence-Number: 24707 Hello Markus, Oryginal query return 7881 rows , your query only 729 rows. -- Best regards, Maciej mailto:piechcio@isb.com.pl