Re: autovacuum next steps, take 2

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: autovacuum next steps, take 2
Дата
Msg-id 20070227030041.GZ19104@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: autovacuum next steps, take 2  ("Jim C. Nasby" <jim@nasby.net>)
Ответы Re: autovacuum next steps, take 2
Re: autovacuum next steps, take 2
Список pgsql-hackers
Jim C. Nasby wrote:

> The advantage to keying this to autovac_naptime is that it means we
> don't need another GUC, but after I suggested that before I realized
> that's probably not the best idea. For example, I've seen clusters that
> are running dozens-hundreds of databases; in that environment you really
> need to turn naptime way down (to like a second). In that case you
> wouldn't want to key to naptime.

Actually, I've been thinking that it would be a good idea to change the
semantics of autovacuum_naptime so that it means the average time to
start a worker in any given database.  That way, the time between
autovac runs is not dependent on the number of databases you have.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Seeking Google SoC Mentors
Следующее
От: Tom Lane
Дата:
Сообщение: Re: autovacuum next steps, take 2