Re: Autovacuum on by default?
От | Alvaro Herrera |
---|---|
Тема | Re: Autovacuum on by default? |
Дата | |
Msg-id | 20060824174850.GC20829@alvh.no-ip.org обсуждение исходный текст |
Ответ на | Re: Autovacuum on by default? (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: Autovacuum on by default?
|
Список | pgsql-hackers |
Tom Lane wrote: > "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? Hum, no. -- Alvaro Herrera http://www.CommandPrompt.com/ The PostgreSQL Company - Command Prompt, Inc.
В списке pgsql-hackers по дате отправления: