Re: autovacuum locks

From: Greg Jaskiewicz <gryzman(at)gmail(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Alvaro Herrera <alvherre(at)commandprompt(dot)com>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: autovacuum locks
Date: 2012-03-04 19:33:33
Message-ID: D8D9F7C4-C7E3-4D2A-8CB3-6E22690AB12E@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


On 2 Mar 2012, at 15:28, Robert Haas wrote:

> On Fri, Mar 2, 2012 at 6:22 AM, Gregg Jaskiewicz <gryzman(at)gmail(dot)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.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2012-03-04 19:41:22 Re: xlog min recovery request ... is past current point ...
Previous Message Pavel Stehule 2012-03-04 19:33:08 Re: review: CHECK FUNCTION statement