Re: [HACKERS] Autovacuum Improvements

Поиск
Список
Период
Сортировка
Искать
От
Matthew T. O'Connor
Тема
Re: [HACKERS] Autovacuum Improvements
Дата
Msg-id
45AD1AE0.9020804@zeut.net
Ответ на
Список
Дерево обсуждения
Re: Autovacuum Improvements Christopher Browne <cbbrowne@acm.org>
Re: Autovacuum Improvements Csaba Nagy <nagy@ecircle-ag.com>
Re: Autovacuum Improvements Alvaro Herrera <alvherre@commandprompt.com>
Re: Autovacuum Improvements "Simon Riggs" <simon@2ndquadrant.com>
Re: Autovacuum Improvements Alvaro Herrera <alvherre@commandprompt.com>
Re: Autovacuum Improvements "Simon Riggs" <simon@2ndquadrant.com>
Re: Autovacuum Improvements Alvaro Herrera <alvherre@commandprompt.com>
Re: [HACKERS] Autovacuum Improvements elein <elein@varlena.com>
Re: [HACKERS] Autovacuum Improvements Alvaro Herrera <alvherre@commandprompt.com>
Re: [HACKERS] Autovacuum Improvements Darcy Buskermolen <darcy@ok-connect.com>
Re: [HACKERS] Autovacuum Improvements "Simon Riggs" <simon@2ndquadrant.com>
Re: [HACKERS] Autovacuum Improvements Darcy Buskermolen <darcyb@commandprompt.com>
Re: [HACKERS] Autovacuum Improvements Bruce Momjian <bruce@momjian.us>
Re: [HACKERS] Autovacuum Improvements Russell Smith <mr-russ@pws.com.au>
Re: [HACKERS] Autovacuum Improvements "Simon Riggs" <simon@2ndquadrant.com>
Re: [HACKERS] Autovacuum Improvements Martijn van Oosterhout <kleptog@svana.org>
Re: [HACKERS] Autovacuum Improvements Heikki Linnakangas <heikki@enterprisedb.com>
Re: [HACKERS] Autovacuum Improvements "Jim C. Nasby" <jim@nasby.net>
Re: [HACKERS] Autovacuum Improvements "Simon Riggs" <simon@2ndquadrant.com>
Re: [HACKERS] Autovacuum Improvements Heikki Linnakangas <heikki@enterprisedb.com>
Re: [HACKERS] Autovacuum Improvements Bruce Momjian <bruce@momjian.us>
Re: [HACKERS] Autovacuum Improvements Heikki Linnakangas <heikki@enterprisedb.com>
Re: [HACKERS] Autovacuum Improvements Bruce Momjian <bruce@momjian.us>
Re: [HACKERS] Autovacuum Improvements "Simon Riggs" <simon@2ndquadrant.com>
Re: [HACKERS] Autovacuum Improvements Gregory Stark <stark@enterprisedb.com>
Re: [HACKERS] Autovacuum Improvements Bruce Momjian <bruce@momjian.us>
Re: [HACKERS] Autovacuum Improvements "Simon Riggs" <simon@2ndquadrant.com>
Re: [HACKERS] Autovacuum Improvements Kenneth Marshall <ktm@it.is.rice.edu>
Re: [HACKERS] Autovacuum Improvements Heikki Linnakangas <heikki@enterprisedb.com>
Re: [HACKERS] Autovacuum Improvements Kenneth Marshall <ktm@it.is.rice.edu>
Re: [HACKERS] Autovacuum Improvements Alvaro Herrera <alvherre@commandprompt.com>
Re: [HACKERS] Autovacuum Improvements Bruce Momjian <bruce@momjian.us>
Re: [HACKERS] Autovacuum Improvements Richard Huxton <dev@archonet.com>
Re: [HACKERS] Autovacuum Improvements Steve Atkins <steve@blighty.com>
Re: [HACKERS] Autovacuum Improvements Gregory Stark <stark@enterprisedb.com>
Re: [HACKERS] Autovacuum Improvements Martijn van Oosterhout <kleptog@svana.org>
Re: [HACKERS] Autovacuum Improvements Heikki Linnakangas <heikki@enterprisedb.com>
Re: [HACKERS] Autovacuum Improvements "Matthew T. O'Connor" <matthew@zeut.net>
Re: Autovacuum Improvements "Pavan Deolasee" <pavan@enterprisedb.com>
Re: Autovacuum Improvements Alban Hertroys <alban@magproductions.nl>
Re: Autovacuum Improvements "Pavan Deolasee" <pavan@enterprisedb.com>
Re: Autovacuum Improvements Scott Ribe <scott_ribe@killerbytes.com>
Alvaro Herrera wrote:
> I'd like to hear other people's opinions on Darcy Buskermolen proposal
> to have a log table, on which we'd register what did we run, at what
> time, how long did it last, how many tuples did it clean, etc.  I feel
> having it on the regular text log is useful but it's not good enough.
> Keep in mind that in the future we may want to peek at that collected
> information to be able to take better scheduling decisions (or at least
> inform the DBA that he sucks).

I'm not familiar with his proposal, but I'm not sure what I think of 
logging vacuum (and perhaps analyze) commands to a table.  We have never 
logged anything to tables inside PG.  I would be worried about this 
eating a lot of space in some situations.

I think most people would just be happy if we could get autovacuum to 
log it's actions at a much higher log level.  I think that "autovacuum 
vacuumed table x" is important and shouldn't be all the way down at the 
debug level.

The other (more involved) solution to this problem was proposed which 
was create a separate set of logging control params for autovacuum so 
that you can turn it up or down independent of the general server logging.

> Now, I'd like this to be a VACUUM thing, not autovacuum.  That means
> that manually-run vacuums would be logged as well.

+1

В списке pgsql-general по дате отправления
От: Ed L.
Дата:
Сообщение: lock query
От: Thorsten Körner
Дата:
FAQ