Re: autovacuum locks - Mailing list pgsql-hackers

From Greg Jaskiewicz
Subject Re: autovacuum locks
Date
Msg-id D8D9F7C4-C7E3-4D2A-8CB3-6E22690AB12E@gmail.com
Whole thread Raw
In response to Re: autovacuum locks  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: autovacuum locks  (Gregg Jaskiewicz <gryzman@gmail.com>)
List pgsql-hackers
On 2 Mar 2012, at 15:28, Robert Haas wrote:

> 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?

nope. 



pgsql-hackers by date:

Previous
From: hubert depesz lubaczewski
Date:
Subject: Re: Our regex vs. POSIX on "longest match"
Next
From: Pavel Stehule
Date:
Subject: Re: review: CHECK FUNCTION statement