Re: autovacuum locks - Mailing list pgsql-hackers

From Robert Haas
Subject Re: autovacuum locks
Date
Msg-id CA+Tgmoa+KXAVAGggeJk0Y=wcOBWe2hV+23QufTiPH4tLHXf4LQ@mail.gmail.com
Whole thread Raw
In response to Re: autovacuum locks  (Gregg Jaskiewicz <gryzman@gmail.com>)
Responses Re: autovacuum locks  (Greg Jaskiewicz <gryzman@gmail.com>)
List pgsql-hackers
On Fri, Mar 2, 2012 at 6:22 AM, Gregg Jaskiewicz <gryzman@gmail.com> wrote:
> Looking at the system bit more now, it look like 'waiting' states are
> changing for both the query and autovacuum in pg_stat_activity.
> But very slowly. It looks like they both got into that sort of state
> that keeps them on the edge of starvation.
>
> So this isn't really a deadlock, but rather very poor performance in
> this corner case.

Are you making any use of cursors?

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: review: CHECK FUNCTION statement
Next
From: Tom Lane
Date:
Subject: Re: autovacuum locks