X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 7D14B9FA3AD for ; Wed, 7 Jun 2006 17:52:40 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 72703-10 for ; Wed, 7 Jun 2006 17:52:31 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.169]) by postgresql.org (Postfix) with ESMTP id 926909FA2E6 for ; Wed, 7 Jun 2006 17:52:29 -0300 (ADT) Received: by ug-out-1314.google.com with SMTP id a2so501966ugf for ; Wed, 07 Jun 2006 13:52:27 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=GAjAH2TZrqMv06WdQYZSXPCK6Az3tjyJfVxNrn5lPdA3G+CPcFmNKv9NYhJ6mI4iqJgtwQDot4fvahikdpMKgUsdBPbtFtl2rNkAY3aDft5owG04vk8CEFSnMwAeV5uVqy50bg7OEmQ392UxsY9ZJFunwtDBV/vXaJ3j6cZIybY= Received: by 10.78.47.9 with SMTP id u9mr313750huu; Wed, 07 Jun 2006 13:52:26 -0700 (PDT) Received: by 10.78.71.9 with HTTP; Wed, 7 Jun 2006 13:52:26 -0700 (PDT) Message-ID: <92d3a4950606071352u7aa25789q9f1dbc57fd14847e@mail.gmail.com> Date: Wed, 7 Jun 2006 22:52:26 +0200 From: Antoine To: mischa@ca.sophos.com Subject: Re: vacuuming problems continued Cc: pgsql-performance@postgresql.org In-Reply-To: <4485D9A1.30807@ca.sophos.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <92d3a4950606010454y67293765o56001e8996975b45@mail.gmail.com> <20060605204151.GC7071@phlogiston.dyndns.org> <4485CECC.4040207@ca.sophos.com> <4485D5C3.7010803@commandprompt.com> <4485D9A1.30807@ca.sophos.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200606/79 X-Sequence-Number: 19436 Hi all and thanks for your responses. I haven't yet had a chance to tweak the autovac settings but I really don't think that things can be maxing out even the default settings. We have about 4 machines that are connected 24/7 - they were doing constant read/inserts (24/7) but that was because the code was rubbish. I managed to whinge enough to get the programme to read, do the work, then insert, and that means they are accessing (connected but idle) for less than 5% of the day. We have about another 10 machines that access (reads and updates) from 8-5. It is running on a P4 with 256 or 512meg of ram and I simply refuse to believe this load is anything significant... :-(. There are only two tables that see any action, and the smaller one is almost exclusively inserts. Much as I believe it shouldn't be possible the ratio of 5:1 for the db vs fresh copy has given me a taste for a copy/drop scenario... I will try and increase settings and keep you posted. Cheers Antoine -- This is where I should put some witty comment.