Re: Autovacuum on by default?
| От | Tom Lane |
|---|---|
| Тема | Re: Autovacuum on by default? |
| Дата | |
| Msg-id | 6956.1156439748@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Autovacuum on by default? ("Jim C. Nasby" <jnasby@pervasive.com>) |
| Ответы |
Re: Autovacuum on by default?
|
| Список | 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 по дате отправления: