X-Original-To: pgsql-performance@postgresql.org Received: from houston.familyhealth.com.au (fhnet.arach.net.au [203.22.197.21]) by svr1.postgresql.org (Postfix) with ESMTP id 2751E5E4733 for ; Tue, 24 Aug 2004 06:08:04 -0300 (ADT) Received: from [192.168.0.40] (work-40.internal [192.168.0.40]) by houston.familyhealth.com.au (8.12.9p1/8.12.9) with ESMTP id i7O985Ui070850; Tue, 24 Aug 2004 17:08:05 +0800 (WST) (envelope-from chriskl@familyhealth.com.au) Message-ID: <412B05A2.8070301@familyhealth.com.au> Date: Tue, 24 Aug 2004 17:08:50 +0800 From: Christopher Kings-Lynne User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Stef Cc: pgsql-performance@postgresql.org Subject: Re: Query kills machine. References: <20040824103240.4d909777@svb.ucs.co.za> In-Reply-To: <20040824103240.4d909777@svb.ucs.co.za> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Archive-Number: 200408/321 X-Sequence-Number: 7957 For starters, > ------------------------------------------------------------------------ > > shared_buffers = 110592 > wal_buffers = 400 > sort_mem = 30720 > vacuum_mem = 10240 > checkpoint_segments = 30 > commit_delay = 5000 > commit_siblings = 100 > effective_cache_size = 201413 Try more like this: shared_buffers = 30000 wal_buffers = sort_mem = 4096 vacuum_mem = 10240 checkpoint_segments = 30 commit_delay = commit_siblings = effective_cache_size = 100000 Chris