Re: autovacuum not prioritising for-wraparound tables

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: autovacuum not prioritising for-wraparound tables
Дата
Msg-id 20130201151725.GD4918@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: autovacuum not prioritising for-wraparound tables  (Andres Freund <andres@2ndquadrant.com>)
Список pgsql-hackers
Andres Freund wrote:

> If youre careful you can also notice that there is an interesting typo
> in the freeze table computation. Namely it uses freeze_min_age instead
> of freeze_table_age. Which probably explains why I had so bad
> performance results with lowering vacuum_freeze_min_age, it basically
> radically increases the amount of full-table-scans, far more than it
> should.
>
> I can't imagine that anybody with a large database ran pg successfully
> with a small freeze_min_age due to this.
>
> It seems to be broken since the initial introduction of freeze_table_age
> in 6587818542e79012276dcfedb2f97e3522ee5e9b. I guess it wasn't noticed
> because the behaviour is only visible via autovacuum because a
> user-issued VACUUM passes -1 as freeze_min_age.

Backpatched all the way back to 8.4

--
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: backend hangs at immediate shutdown (Re: Back-branch update releases coming in a couple weeks)
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Turning auto-analyze off (was Re: [GENERAL] Unusually high IO for autovacuum worker)