Re: Autovacuuming

Поиск
Список
Период
Сортировка
От Jim C. Nasby
Тема Re: Autovacuuming
Дата
Msg-id 20060424180038.GG48010@pervasive.com
обсуждение исходный текст
Ответ на Re: Autovacuuming  (Alvaro Herrera <alvherre@commandprompt.com>)
Ответы Re: Autovacuuming  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-admin
On Mon, Apr 24, 2006 at 08:41:55AM -0400, Alvaro Herrera wrote:
> The test for database-wide vacuum is:
>
> database age > big_constant
>
> where:
>
> big_constant = (MaxTransactionId >> 3) * 3 - 100000) = 1610512733

Ok, I'll bite... any idea how (MaxTransactionId >> 3) * 3 was chosen? I
don't see anything about it in vacuum.c...

Also, maybe that should be defined in one place rather than duplicating
it in autovacuum.c?
--
Jim C. Nasby, Sr. Engineering Consultant      jnasby@pervasive.com
Pervasive Software      http://pervasive.com    work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf       cell: 512-569-9461

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

Предыдущее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: Autovacuuming
Следующее
От: Martin Marrese
Дата:
Сообщение: Trouble with pg_dump and sequences