Re: Autovacuum on by default? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Autovacuum on by default?
Date
Msg-id 6956.1156439748@sss.pgh.pa.us
Whole thread Raw
In response to Re: Autovacuum on by default?  ("Jim C. Nasby" <jnasby@pervasive.com>)
Responses Re: Autovacuum on by default?
List pgsql-hackers
"Jim C. Nasby" <jnasby@pervasive.com> writes:
> On Thu, Aug 24, 2006 at 09:58:10AM -0400, Tom Lane wrote:
>> Alvaro Herrera <alvherre@commandprompt.com> writes:
>>> I think there is a reasonable case for saying that a manual vacuum could
>>> hint pgstat to create the entry instead.
>> 
>> The problem with that is that a simple "VACUUM;" would force pgstat to
>> populate its entire hashtable.

> Maybe a good compromise would be only populating info for tables that
> had dead tuples... that would eliminate any static tables, and most DBAs
> should know that those tables are static.

Hm, that definitely seems like an idea.  Does the current pgstat message
from vacuum tell how many rows it deleted?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Tricky bugs in concurrent index build
Next
From: "Andrew J. Kopciuch"
Date:
Subject: Re: tsvector/tsearch equality and/or portability issue issue ?