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 DA65E8B9D5F for ; Tue, 22 Feb 2005 21:28:14 +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 19643-01 for ; Tue, 22 Feb 2005 21:28:09 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 4F9F78B9C8C for ; Tue, 22 Feb 2005 21:28:10 +0000 (GMT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id j1MLS36R012401; Tue, 22 Feb 2005 16:28:03 -0500 (EST) To: Gaetano Mendola Cc: pgsql-performance@postgresql.org Subject: Re: is pg_autovacuum so effective ? In-reply-to: References: Comments: In-reply-to Gaetano Mendola message dated "Tue, 22 Feb 2005 20:47:27 +0100" Date: Tue, 22 Feb 2005 16:28:03 -0500 Message-ID: <12400.1109107683@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.007 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200502/301 X-Sequence-Number: 10630 Gaetano Mendola writes: > I'm using ony pg_autovacuum. I expect that disk usage will reach > a steady state but is not. PG engine: 7.4.5 One data point doesn't prove that you're not at a steady state. > # vacuum full verbose messages; > INFO: vacuuming "public.messages" > INFO: "messages": found 77447 removable, 1606437 nonremovable row versions in 69504 pages > ... > INFO: "messages": moved 55221 row versions, truncated 69504 to 63307 pages 10% overhead sounds fairly reasonable to me. How does that compare to the amount of updating you do on the table --- ie, do you turn over 10% of the table in a day? regards, tom lane