Re: autovacuum bootstrap

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: autovacuum bootstrap
Дата
Msg-id 29008.1119729128@sss.pgh.pa.us
обсуждение исходный текст
Ответ на autovacuum bootstrap  (Alvaro Herrera <alvherre@surnet.cl>)
Ответы Re: autovacuum bootstrap  (Alvaro Herrera <alvherre@surnet.cl>)
Список pgsql-hackers
Alvaro Herrera <alvherre@surnet.cl> writes:
> I added two new fields to the pg_database flatfile and table, datstats
> and datautovac.  They respectively signal the stat collector and
> autovacuum daemon to run for that database.

Why?  I can't see a particularly good reason to be able to suppress
these daemons per-database.

> Additionally I need to save some state during initdb for each database,
> and during database creation (and when the hypotetical ALTER DATABASE
> command for turning autovacuum on is executed).

Shouldn't this live in the existing stats collector output file?
Exactly what state have you got in mind?
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Fundamental error in "no WAL log" index/file creation stuff
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: autovacuum bootstrap