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      [EMAIL PROTECTED]
Pervasive Software      http://pervasive.com    work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf       cell: 512-569-9461

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

               http://archives.postgresql.org

Reply via email to