Re: Autovacuuming - Mailing list pgsql-admin

From Jim C. Nasby
Subject Re: Autovacuuming
Date
Msg-id 20060424180038.GG48010@pervasive.com
Whole thread Raw
In response to Re: Autovacuuming  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: Autovacuuming
List 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 by date:

Previous
From: "Jim C. Nasby"
Date:
Subject: Re: Autovacuuming
Next
From: Martin Marrese
Date:
Subject: Trouble with pg_dump and sequences