X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id F2742D1BB4C for ; Tue, 27 Apr 2004 19:36:55 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 60874-02 for ; Tue, 27 Apr 2004 19:36:55 -0300 (ADT) Received: from davinci.ethosmedia.com (server228.ethosmedia.com [209.128.84.228]) by svr1.postgresql.org (Postfix) with ESMTP id B8C45D1BB45 for ; Tue, 27 Apr 2004 19:36:52 -0300 (ADT) Received: from [64.81.245.111] (HELO 192.168.1.102) by davinci.ethosmedia.com (CommuniGate Pro SMTP 4.1.8) with ESMTP id 4959495; Tue, 27 Apr 2004 15:38:21 -0700 From: Josh Berkus Reply-To: josh@agliodbs.com Organization: Aglio Database Solutions To: Vitaly Belman , pgsql-performance@postgresql.org Subject: Re: Simply join in PostrgeSQL takes too long Date: Tue, 27 Apr 2004 15:37:09 -0700 User-Agent: KMail/1.5.4 References: <282909734.20040428002740@012.net.il> In-Reply-To: <282909734.20040428002740@012.net.il> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200404271537.09547.josh@agliodbs.com> X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.3 tagged_above=0.0 required=5.0 tests=RCVD_NUMERIC_HELO X-Spam-Level: X-Archive-Number: 200404/470 X-Sequence-Number: 6770 Vitaly, I'm afraid that your helper on DevShed is right; 7.5 for Windows is still in development, we've not even *started* to check it for performance yet. Since the Merge Join is taking 90% of your query time, I might suggest increasing shared_buffers and sort_mem to see if that helps. -- -Josh Berkus Aglio Database Solutions San Francisco