Received: from localhost (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 4047664FD87 for ; Sun, 23 Nov 2008 18:28:55 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 26332-07 for ; Sun, 23 Nov 2008 18:28:53 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from smtp145.iad.emailsrvr.com (smtp145.iad.emailsrvr.com [207.97.245.145]) by mail.postgresql.org (Postfix) with ESMTP id 1F93064FD2A for ; Sun, 23 Nov 2008 18:28:52 -0400 (AST) Received: from relay4.r5.iad.mlsrvr.com (localhost [127.0.0.1]) by relay4.r5.iad.mlsrvr.com (SMTP Server) with ESMTP id 404EFC36D; Sun, 23 Nov 2008 17:28:51 -0500 (EST) Received: by relay4.r5.iad.mlsrvr.com (Authenticated sender: matthew-AT-zeut.net) with ESMTP id 20FBAC0EA; Sun, 23 Nov 2008 17:28:51 -0500 (EST) Message-ID: <4929D923.7050001@zeut.net> Date: Sun, 23 Nov 2008 17:28:51 -0500 From: "Matthew T. O'Connor" User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: Tom Lane CC: Jeff Davis , Heikki Linnakangas , PostgreSQL-development Subject: Re: Visibility map, partial vacuums References: <4905AE17.7090305@enterprisedb.com> <491D376B.9000608@enterprisedb.com> <491D7F52.6070908@enterprisedb.com> <4925664C.3090605@enterprisedb.com> <26361.1227467112@sss.pgh.pa.us> <1227471538.7370.14.camel@jdavis-laptop> <27709.1227475122@sss.pgh.pa.us> In-Reply-To: <27709.1227475122@sss.pgh.pa.us> 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: 200811/1511 X-Sequence-Number: 128223 Tom Lane wrote: > However, my comment above was too optimistic, because in an insert-only > scenario autovac would in fact not trigger VACUUM at all, only ANALYZE. > > So it seems like we do indeed want to rejigger autovac's rules a bit > to account for the possibility of wanting to apply vacuum to get > visibility bits set. I'm sure I'm missing something, but I thought the point of this was to lessen the impact of VACUUM and now you are suggesting that we have to add vacuums to tables that have never needed one before.