Re: Vacuuming anything zeroes shared table stats

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Vacuuming anything zeroes shared table stats
Дата
Msg-id 20070607185953.GD21004@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: Vacuuming anything zeroes shared table stats  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> Michael Fuhr <mike@fuhr.org> writes:
> > Further investigation shows that what really seems to be happening
> > in 8.3devel is that the statistics for shared tables are reset every
> > 15 seconds when autovacuum is enabled, which it is by default.  I
> > don't observe this phenomenon when autovacuum is disabled.
> 
> OK, so it's just that pgstat_vacuum_tabstat() gets run by autovacuum.
> So either form of Alvaro's patch should fix it.

Right.  Committed.

Thanks for the report!

-- 
Alvaro Herrera                          Developer, http://www.PostgreSQL.org/
"El miedo atento y previsor es la madre de la seguridad" (E. Burke)


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

Предыдущее
От: Greg Smith
Дата:
Сообщение: Re: Controlling Load Distributed Checkpoints
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: [PATCHES] [BUGS] BUG #3326: Invalid lower bound of autovacuum_cost_limit