Re: new GUC var: autovacuum_process_all_tables

Поиск
Список
Период
Сортировка
Искать
От
Euler Taveira de Oliveira
Тема
Re: new GUC var: autovacuum_process_all_tables
Дата
Msg-id
498B6000.2040208@timbira.com
Ответ на
Список
Дерево обсуждения
new GUC var: autovacuum_process_all_tables Alvaro Herrera <alvherre@commandprompt.com>
Re: new GUC var: autovacuum_process_all_tables "Joshua D. Drake" <jd@commandprompt.com>
Re: new GUC var: autovacuum_process_all_tables Simon Riggs <simon@2ndQuadrant.com>
Re: new GUC var: autovacuum_process_all_tables Alvaro Herrera <alvherre@commandprompt.com>
Re: new GUC var: autovacuum_process_all_tables Simon Riggs <simon@2ndQuadrant.com>
Re: new GUC var: autovacuum_process_all_tables Alvaro Herrera <alvherre@commandprompt.com>
Re: new GUC var: autovacuum_process_all_tables Simon Riggs <simon@2ndQuadrant.com>
Re: new GUC var: autovacuum_process_all_tables Alvaro Herrera <alvherre@commandprompt.com>
Re: new GUC var: autovacuum_process_all_tables Robert Haas <robertmhaas@gmail.com>
Re: new GUC var: autovacuum_process_all_tables Jaime Casanova <jcasanov@systemguards.com.ec>
Re: new GUC var: autovacuum_process_all_tables Robert Haas <robertmhaas@gmail.com>
Re: new GUC var: autovacuum_process_all_tables Jaime Casanova <jcasanov@systemguards.com.ec>
Re: new GUC var: autovacuum_process_all_tables Tom Lane <tgl@sss.pgh.pa.us>
Re: new GUC var: autovacuum_process_all_tables Simon Riggs <simon@2ndQuadrant.com>
Re: new GUC var: autovacuum_process_all_tables Tom Lane <tgl@sss.pgh.pa.us>
Re: new GUC var: autovacuum_process_all_tables "Joshua D. Drake" <jd@commandprompt.com>
Re: new GUC var: autovacuum_process_all_tables Ron Mayer <rm_pg@cheapcomplexdevices.com>
Re: new GUC var: autovacuum_process_all_tables Alvaro Herrera <alvherre@commandprompt.com>
Re: new GUC var: autovacuum_process_all_tables Simon Riggs <simon@2ndQuadrant.com>
Re: new GUC var: autovacuum_process_all_tables Greg Stark <stark@enterprisedb.com>
Re: new GUC var: autovacuum_process_all_tables Simon Riggs <simon@2ndQuadrant.com>
Re: new GUC var: autovacuum_process_all_tables Andrew Dunstan <andrew@dunslane.net>
Re: new GUC var: autovacuum_process_all_tables Simon Riggs <simon@2ndQuadrant.com>
Re: new GUC var: autovacuum_process_all_tables Andrew Dunstan <andrew@dunslane.net>
Re: new GUC var: autovacuum_process_all_tables Bruce Momjian <bruce@momjian.us>
Re: new GUC var: autovacuum_process_all_tables Simon Riggs <simon@2ndQuadrant.com>
Re: new GUC var: autovacuum_process_all_tables Robert Haas <robertmhaas@gmail.com>
Re: new GUC var: autovacuum_process_all_tables Robert Haas <robertmhaas@gmail.com>
Re: new GUC var: autovacuum_process_all_tables Alvaro Herrera <alvherre@commandprompt.com>
Re: new GUC var: autovacuum_process_all_tables Euler Taveira de Oliveira <euler@timbira.com>
Re: new GUC var: autovacuum_process_all_tables Josh Berkus <josh@agliodbs.com>
Re: new GUC var: autovacuum_process_all_tables Alvaro Herrera <alvherre@commandprompt.com>
Re: new GUC var: autovacuum_process_all_tables Josh Berkus <josh@agliodbs.com>
Re: new GUC var: autovacuum_process_all_tables Alvaro Herrera <alvherre@commandprompt.com>
Re: new GUC var: autovacuum_process_all_tables Tom Lane <tgl@sss.pgh.pa.us>
Re: new GUC var: autovacuum_process_all_tables Robert Haas <robertmhaas@gmail.com>
Alvaro Herrera escreveu:
> Hi,
> 
> Right now, when autovacuum is turned on we always assume it's supposed
> to process all tables except those that have autovacuum_enabled=false.
> 
> Now, sometimes it might make more sense to keep it enabled but have it
> only check for certain tables, and leave the majority of them disabled.
> For this we'd have a separate GUC parameter, as in $SUBJECT (I'm not
> wedded to the name), and have the user set autovacuum_enabled=true via
> reloptions to enable it.
> 
> Opinions?
> 
What about 'autovacuum_mode'? Values could be 'all' and 'reloption'.

If we don't want to add another GUC, I'll go changing the 'autovacuum' GUC.
Values would be: 'on' means enable autovacuum and process all tables, 'off'
means disable autovacuum and 'reloption' (?) means only process those tables
that have reloption autovacuum_enabled=true. The con is that we couldn't
implement a per-{schema,database} switch for autovacuum. So I prefer the first
one.


--  Euler Taveira de Oliveira http://www.timbira.com/

В списке pgsql-hackers по дате отправления
От: Simon Riggs
Дата:
От: Alvaro Herrera
Дата:
Сообщение: Re: autovacuum and reloptions
FAQ