X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 1C7F78B9CF6 for ; Tue, 22 Feb 2005 20:56:13 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 08912-06 for ; Tue, 22 Feb 2005 20:56:02 +0000 (GMT) Received: from outbound.mailhop.org (outbound.mailhop.org [63.208.196.171]) by svr1.postgresql.org (Postfix) with ESMTP id D8F958B9CA2 for ; Tue, 22 Feb 2005 20:56:02 +0000 (GMT) Received: from ool-4350c7ad.dyn.optonline.net ([67.80.199.173] helo=[192.168.0.66]) by outbound.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.44) id 1D3h4c-000DeG-4P; Tue, 22 Feb 2005 15:56:02 -0500 Message-ID: <421B9CD9.6090703@zeut.net> Date: Tue, 22 Feb 2005 15:58:01 -0500 From: "Matthew T. O'Connor" Organization: Terrie O'Connor Realtors User-Agent: Mozilla Thunderbird 1.0RC1 (Windows/20041201) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Gaetano Mendola Cc: pgsql-performance@postgresql.org Subject: Re: is pg_autovacuum so effective ? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Mail-Handler: MailHop Outbound by DynDNS.org X-Originating-IP: 67.80.199.173 X-Report-Abuse-To: abuse@dyndns.org (see http://www.mailhop.org/outbound/abuse.html for abuse reporting information) X-MHO-User: zeut X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.013 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200502/300 X-Sequence-Number: 10629 Gaetano Mendola wrote: >pg_class after the vacuum full for that table > > relfilenode | relname | relpages | reltuples >-------------+----------+----------+------------- > 18376 | messages | 63307 | 1.60644e+06 > > >pg_class before the vacuum full for that table > > relfilenode | relname | relpages | reltuples >-------------+----------+----------+------------- > 18376 | messages | 69472 | 1.60644e+06 > > > >how was possible accumulate 6000 pages wasted on that table? > >Between these two calls: >[2005-02-22 05:25:03 CET] Performing: VACUUM ANALYZE "public"."messages" >[2005-02-22 15:20:39 CET] Performing: VACUUM ANALYZE "public"."messages" > >1768 rows where inserted, and I had 21578 updated for that rows ( each >row have a counter incremented for each update ) so that table is not >so heavy updated > >I'm running autovacuum with these parameters: >pg_autovacuum -d 3 -v 300 -V 0.1 -S 0.8 -a 200 -A 0.1 -D > > >shall I run it in a more aggressive way ? May be I'm missing >something. > Well without thinking too much, I would first ask about your FSM settings? If they aren't big enought that will cause bloat. Try bumping your FSM settings and then see if you reach steady state.