X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 630019DCA9B for ; Tue, 28 Mar 2006 14:18:03 -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 25273-01 for ; Tue, 28 Mar 2006 14:18:00 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from smtp.nildram.co.uk (smtp.nildram.co.uk [195.112.4.54]) by postgresql.org (Postfix) with ESMTP id 9B22D9DC9EF for ; Tue, 28 Mar 2006 14:17:58 -0400 (AST) Received: from [192.168.0.5] (unknown [84.12.26.47]) by smtp.nildram.co.uk (Postfix) with ESMTP id 944FB3373DA; Tue, 28 Mar 2006 19:17:54 +0100 (BST) Subject: Re: simple join uses indexes, very slow From: Simon Riggs To: gry@ll.mit.edu Cc: pgsql-performance@postgresql.org In-Reply-To: <20060328102200.39077862.gry@ll.mit.edu> References: <20060327134733.72422d23.gry@ll.mit.edu> <1143534654.3839.251.camel@localhost.localdomain> <20060328102200.39077862.gry@ll.mit.edu> Content-Type: text/plain Date: Tue, 28 Mar 2006 19:17:49 +0100 Message-Id: <1143569869.32384.37.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 (2.2.3-2.fc4) Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.097 required=5 tests=[AWL=0.097] X-Spam-Score: 0.097 X-Spam-Level: X-Archive-Number: 200603/554 X-Sequence-Number: 17991 On Tue, 2006-03-28 at 10:22 -0500, george young wrote: > work_mem= 1024 Set that higher. Try a couple of other plans using enable_* and let us have the EXPLAIN ANALYZE plans. Best Regards, Simon Riggs