Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id C2ADB9FB856 for ; Fri, 25 May 2007 08:51:37 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 43674-01 for ; Fri, 25 May 2007 08:51:28 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from mail.metronet.co.uk (mail.metronet.co.uk [213.162.97.75]) by postgresql.org (Postfix) with ESMTP id 7ED499FB854 for ; Fri, 25 May 2007 08:51:32 -0300 (ADT) Received: from server3.office.archonet.com (84-51-143-99.archon037.adsl.metronet.co.uk [84.51.143.99]) by smtp.metronet.co.uk (MetroNet Mail) with ESMTP id C1BC974B8B; Fri, 25 May 2007 12:51:30 +0100 (BST) Received: from [192.168.1.36] (dell36.office.archonet.com [192.168.1.36]) by server3.office.archonet.com (Postfix) with ESMTP id 3ABD12740EB; Fri, 25 May 2007 12:51:33 +0100 (BST) Message-ID: <4656CDC2.6030106@archonet.com> Date: Fri, 25 May 2007 12:51:30 +0100 From: Richard Huxton User-Agent: Thunderbird 2.0.0.0 (X11/20070326) MIME-Version: 1.0 To: Bastian Voigt Cc: pgsql-performance@postgresql.org Subject: Re: Performance Problem with Vacuum of bytea table (PG 8.0.13) References: <46569E6A.2060509@bastian-voigt.de> <4656BB5E.3000109@archonet.com> <4656BEF1.4050609@bastian-voigt.de> <4656C1C7.3000003@archonet.com> <4656C411.8010509@bastian-voigt.de> In-Reply-To: <4656C411.8010509@bastian-voigt.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200705/495 X-Sequence-Number: 24885 Bastian Voigt wrote: > Richard Huxton wrote: >> >> I was about to say that you can tune pg_autovacuum, but I just checked >> your original post and you're running 8.0.x - not sure about that one. > The system catalog pg_autovacuum which allows finetuning autovacuum at > table level was introduced in 8.1 :-( Hmm - thought it might have been :-( >> You'll have to check the documentation for that version to see if you >> can either: >> 1. exclude that table from pg_autovacuum >> 2. increase pg_autovacuum's sensitivity > (1) seems to be impossible (correct me if I'm wrong..), so maybe I'll go > for (2) ... No, the per-table stuff was via the system table. >> If not, and this table is the most active, it might be simpler just to >> run your own vacuum-ing from a cron job. > Well, it is one of the most active, but there are others. pg_autovacuum > seems to do a very good job, apart from this one table... Do you have any settings in your postgresql.conf? Failing that, you would have to poke around the source. -- Richard Huxton Archonet Ltd