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 049A552D82 for ; Thu, 14 Jul 2005 19:47:56 -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 18602-08 for ; Thu, 14 Jul 2005 22:47:49 +0000 (GMT) Received: from vms048pub.verizon.net (vms048pub.verizon.net [206.46.252.48]) by svr1.postgresql.org (Postfix) with ESMTP id 2741A52D73 for ; Thu, 14 Jul 2005 19:47:45 -0300 (ADT) Received: from osgiliath.mathom.us ([70.108.75.132]) by vms048.mailsrvcs.net (Sun Java System Messaging Server 6.2 HotFix 0.04 (built Dec 24 2004)) with ESMTPA id <0IJN00D2C3BNFKJ1@vms048.mailsrvcs.net> for pgsql-performance@postgresql.org; Thu, 14 Jul 2005 17:47:48 -0500 (CDT) Received: from localhost (localhost [127.0.0.1]) by osgiliath.mathom.us (Postfix) with ESMTP id 72BCA6005EA; Thu, 14 Jul 2005 18:47:47 -0400 (EDT) Received: from osgiliath.mathom.us ([127.0.0.1]) by localhost (osgiliath [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 24705-01; Thu, 14 Jul 2005 18:47:47 -0400 (EDT) Received: by osgiliath.mathom.us (Postfix, from userid 1000) id 14ED3600197; Thu, 14 Jul 2005 18:47:47 -0400 (EDT) Date: Thu, 14 Jul 2005 18:47:46 -0400 From: Michael Stone Subject: Re: slow joining very large table to smaller ones In-reply-to: To: Dan Harris Cc: pgsql-performance@postgresql.org Mail-Followup-To: Dan Harris , pgsql-performance@postgresql.org Message-id: <20050714224746.GD19080@mathom.us> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii; format=flowed Content-disposition: inline X-Pgp-Fingerprint: 53 FF 38 00 E7 DD 0A 9C 84 52 84 C5 EE DF 7C 88 X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at mathom.us References: <46AF8F35-B735-4DFA-BA0A-AC82B5DA3CCE@drivefaster.net> <42D687E5.7080202@arbash-meinel.com> User-Agent: Mutt/1.5.9i X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.009 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200507/190 X-Sequence-Number: 13431 On Thu, Jul 14, 2005 at 04:29:58PM -0600, Dan Harris wrote: >Ok, I tried this one. My ssh keeps getting cut off by a router >somewhere between me and the server due to inactivity timeouts, so >all I know is that both the select and explain analyze are taking >over an hour to run. Try running the query as a script with nohup & redirect the output to a file. Mike Stone