Re: HOT and autovacuum

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: HOT and autovacuum
Date: 2008-03-03 22:47:22
Message-ID: 1468.1204584442@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Alvaro Herrera <alvherre(at)commandprompt(dot)com> writes:
> I'm seeing a 8.3 database whose autovacuum-initiated vacuums are being
> cancelled and I am not sure of the cause. I am wondering if a HOT
> cleanup round on a page could try to acquire locks on it that would
> conflict with autovacuum (basically anything that conflicts with a
> vacuum lock). This would cause autovacuum to commit hara-kiri.

This is nonsense, no? A buffer cleanup lock is an LWLock not a lock
manager lock.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2008-03-03 22:55:52 Re: A couple of PG schedule reminders
Previous Message Tom Lane 2008-03-03 22:39:37 Re: Google Summer of Code 2008