X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 9399BD852D for ; Wed, 31 Aug 2005 10:47:42 -0300 (ADT) 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 46343-08 for ; Wed, 31 Aug 2005 13:47:37 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id C533ED7D1D for ; Wed, 31 Aug 2005 10:47:35 -0300 (ADT) 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 j7VDlZAM001401; Wed, 31 Aug 2005 09:47:35 -0400 (EDT) To: Jeff Frost Cc: pgsql-admin@postgresql.org Subject: Re: auto vacuum settings In-reply-to: References: <43152971.1030508@winklerpartners.com> <27988.1125463452@sss.pgh.pa.us> Comments: In-reply-to Jeff Frost message dated "Tue, 30 Aug 2005 22:33:22 -0700" Date: Wed, 31 Aug 2005 09:47:35 -0400 Message-ID: <1400.1125496055@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.006 required=5 tests=[AWL=0.006] X-Spam-Level: X-Archive-Number: 200508/413 X-Sequence-Number: 18732 Jeff Frost writes: > Since we're on the vacuum kick these days, what's the best way to tell if my > autovacuum settings are working well? I'm sure I can query some info out of > the pg_stats tables, no? If the database isn't bloating (ie, physical storage growing faster than valid data volume) then it's getting the job done. Keep an eye on "du $PGDATA" or pg_class.relpages entries. > Also, if using autovacuum, should I still do a vacuum full on a regular > basis? No. Needing to do a VACUUM FULL would be prima facie evidence that autovacuum *isn't* getting its job done. regards, tom lane