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 888FC8BA059 for ; Wed, 9 Feb 2005 09:16:50 +0000 (GMT) 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 69806-01 for ; Wed, 9 Feb 2005 09:16:34 +0000 (GMT) Received: from server.cityscape3d.com (unknown [217.206.144.18]) by svr1.postgresql.org (Postfix) with ESMTP id ED6898B9E0F for ; Wed, 9 Feb 2005 09:16:32 +0000 (GMT) Received: from [192.168.1.117] ([192.168.1.117]) by server.cityscape3d.com (8.12.11/8.11.6) with ESMTP id j199E5mu060220; Wed, 9 Feb 2005 09:14:06 GMT (envelope-from chriskl@familyhealth.com.au) Received: from 127.0.0.1 (AVG SMTP 7.0.305 [265.8.6]); Wed, 09 Feb 2005 09:14:49 +0000 Message-ID: <4209D489.8090402@familyhealth.com.au> Date: Wed, 09 Feb 2005 09:14:49 +0000 From: Christopher Kings-Lynne User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: lutzeb@aeccom.com Cc: John A Meinel , Greg Stark , pgsql-performance@postgresql.org, tgl@sss.pgh.pa.us Subject: Re: query produces 1 GB temp file References: <20050205182117.0125074@mail2.aeccom.com> <87y8e2kb8j.fsf@stark.xeocode.com> <42061B35.6000306@aeccom.com> <4206356C.9060308@arbash-meinel.com> <42063FF5.9040707@aeccom.com> In-Reply-To: <42063FF5.9040707@aeccom.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.019 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200502/135 X-Sequence-Number: 10464 > I'm doing VACUUM ANALYZE once a night. Before the tests I did VACUUM and > then ANALYZE. I'd suggest once an hour on any resonably active database... Chris