From: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
---|---|
To: | Simon Riggs <simon(at)2ndquadrant(dot)com> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Autovacuum and OldestXmin |
Date: | 2008-11-03 19:04:27 |
Message-ID: | 20081103190427.GU4509@alvh.no-ip.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Alvaro Herrera wrote:
> Simon Riggs wrote:
> > [Also there is a comment saying "this is a bug" in autovacuum.c
> > Are we thinking to go production with that phrase in the code?]
>
> Yeah, well, it's only a comment ;-) The problem is that a worker can
> decide that a table needs to be vacuumed, if another worker has finished
> vacuuming it in the last 500 ms. I proposed a mechanism to close the
> hole but it was too much of a hassle.
I just committed a patch that should fix this problem.
--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2008-11-03 19:07:01 | Re: pgstat delay in autovacuum |
Previous Message | David E. Wheeler | 2008-11-03 19:02:55 | Re: pg_typeof() patch review |