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 48CB09FB1BA for ; Tue, 6 Jun 2006 16:21:52 -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 45735-04 for ; Tue, 6 Jun 2006 16:21:43 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from projects.commandprompt.com (host-130.commandprompt.net [207.173.203.130]) by postgresql.org (Postfix) with ESMTP id 1884C9FA13E for ; Tue, 6 Jun 2006 16:21:43 -0300 (ADT) Received: from [192.168.1.50] (or-67-76-146-141.sta.sprint-hsd.net [67.76.146.141]) (authenticated bits=0) by projects.commandprompt.com (8.13.6/8.13.6) with ESMTP id k56JLgoq018497; Tue, 6 Jun 2006 12:21:42 -0700 Message-ID: <4485D5C3.7010803@commandprompt.com> Date: Tue, 06 Jun 2006 12:21:39 -0700 From: "Joshua D. Drake" Organization: Command Prompt, Inc. User-Agent: Thunderbird 1.5.0.2 (X11/20060521) MIME-Version: 1.0 To: mischa@ca.sophos.com CC: Andrew Sullivan , pgsql-performance@postgresql.org Subject: Re: vacuuming problems continued References: <92d3a4950606010454y67293765o56001e8996975b45@mail.gmail.com> <20060605204151.GC7071@phlogiston.dyndns.org> <4485CECC.4040207@ca.sophos.com> In-Reply-To: <4485CECC.4040207@ca.sophos.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.88.2, clamav-milter version 0.88.2 on projects.commandprompt.com X-Virus-Status: Clean X-Greylist: Sender succeded SMTP AUTH authentication, not delayed by milter-greylist-1.6 (projects.commandprompt.com [192.168.2.159]); Tue, 06 Jun 2006 12:21:43 -0700 (PDT) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200606/68 X-Sequence-Number: 19425 Mischa Sandberg wrote: > Andrew Sullivan wrote: >> On Thu, Jun 01, 2006 at 01:54:08PM +0200, Antoine wrote: >>> Hi, >>> We just don't seem to be getting much benefit from autovacuum. Running >>> a manual vacuum seems to still be doing a LOT, which suggests to me >>> that I should either run a cron job and disable autovacuum, or just >>> run a cron job on top of autovacuum. > > Don't know if this was covered in an earlier thread. Bear with me if so. > > I'm working with 7.4.8 and 8.0.3 systems, and pg_autovacuum does have > some glitches ... in part solved by the integrated autovac in 8.1: > > - in our env, clients occasionally hit max_connections. This is a known > and (sort of) desired pushback on load. However, that sometimes knocks > pg_autovacuum out. That is when you use: superuser_reserved_connections In the postgresql.conf > - db server goes down for any reason: same problem. I believe you can use stats_reset_on_server_start = on For that little problem. Joshua D. Drake -- === The PostgreSQL Company: Command Prompt, Inc. === Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240 Providing the most comprehensive PostgreSQL solutions since 1997 http://www.commandprompt.com/