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 886C7D1B515 for ; Wed, 29 Oct 2003 01:44:02 +0000 (GMT) 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 12363-10 for ; Tue, 28 Oct 2003 21:43:34 -0400 (AST) Received: from houston.familyhealth.com.au (fhnet.arach.net.au [203.22.197.21]) by svr1.postgresql.org (Postfix) with ESMTP id C8A02D1B4EB for ; Tue, 28 Oct 2003 21:43:29 -0400 (AST) Received: from familyhealth.com.au (work-40.internal [192.168.0.40]) by houston.familyhealth.com.au (8.12.9p1/8.12.9) with ESMTP id h9T1hIoD062201; Wed, 29 Oct 2003 09:43:19 +0800 (WST) (envelope-from chriskl@familyhealth.com.au) Message-ID: <3F9F1C30.4010306@familyhealth.com.au> Date: Wed, 29 Oct 2003 09:47:28 +0800 From: Christopher Kings-Lynne User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Stephan Szabo Cc: Jeff , pgsql-performance@postgresql.org Subject: Re: Adding foreign key performance References: <20031028091645.3d610841.threshar@torgo.978.org> <20031028113359.3932438f.threshar@torgo.978.org> <20031028101820.T64490@megazone.bigpanda.com> In-Reply-To: <20031028101820.T64490@megazone.bigpanda.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/719 X-Sequence-Number: 4467 >>Just loaded up delicious 7.4b5 and wow... >> >>sort_mem 8192: 137038ms [lots of tmp file activity] >>sort_mem 256000: 83109ms > > > Hmm, 298383 -> 83109 (since those are the 256k numbers). Not as > much as I'd have hoped, but I'll take a factor of 3. Hi Jeff, Could you let us know the load times when you have done: 1. A full ANALYZE 2. A delete all from pg_statistic So we can see if ANALYZE stats make much difference? Chris