Re: HOT and autovacuum - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: HOT and autovacuum
Date
Msg-id 20080304112044.GA4755@alvh.no-ip.org
Whole thread Raw
In response to Re: HOT and autovacuum  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:
> Alvaro Herrera <alvherre@commandprompt.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.

Yeah, I realized that after awhile.  There must be something else they
are doing.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


pgsql-hackers by date:

Previous
From: "Heikki Linnakangas"
Date:
Subject: Re: 8.3 / 8.2.6 restore comparison
Next
From: "Heikki Linnakangas"
Date:
Subject: Re: "could not open relation 1663/16384/16584: No such file or directory" in a specific combination of transactions with temp tables