X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id ED16A53593 for ; Sun, 10 Apr 2005 22:55:16 -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 68494-01 for ; Mon, 11 Apr 2005 01:55:08 +0000 (GMT) Received: from mailbox.samurai.com (mailbox.samurai.com [205.207.28.82]) by svr1.postgresql.org (Postfix) with ESMTP id E125C53564 for ; Sun, 10 Apr 2005 22:55:07 -0300 (ADT) Received: from localhost (mailbox.samurai.com [205.207.28.82]) by mailbox.samurai.com (Postfix) with ESMTP id F375F18CC64; Sun, 10 Apr 2005 21:55:10 -0400 (EDT) Received: from mailbox.samurai.com ([205.207.28.82]) by localhost (mailbox.samurai.com [205.207.28.82]) (amavisd-new, port 10024) with LMTP id 14199-01-7; Sun, 10 Apr 2005 21:55:09 -0400 (EDT) Received: from [61.88.101.19] (unknown [61.88.101.19]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailbox.samurai.com (Postfix) with ESMTP id A5E7918CC3D; Sun, 10 Apr 2005 21:55:08 -0400 (EDT) Message-ID: <4259D8FA.9060307@samurai.com> Date: Mon, 11 Apr 2005 11:55:06 +1000 From: Neil Conway User-Agent: Debian Thunderbird 1.0.2 (X11/20050331) X-Accept-Language: en-us, en MIME-Version: 1.0 To: KeithW@narrowpathinc.com Cc: PostgreSQL Perform Subject: Re: 4 way JOIN using aliases References: <20050407140133.M89867@narrowpathinc.com> In-Reply-To: <20050407140133.M89867@narrowpathinc.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at mailbox.samurai.com X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.027 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200504/197 X-Sequence-Number: 11594 Keith Worthington wrote: > -> Seq Scan on tbl_current (cost=0.00..1775.57 rows=76457 > width=31) (actual time=22.870..25.024 rows=605 loops=1) This rowcount is way off -- have you run ANALYZE recently? -Neil