Re: Vacuum as "easily obtained" locks

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Vacuum as "easily obtained" locks
Date: 2011-08-03 17:32:54
Message-ID: 4E398646.4030207@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 08/03/11 10:21 AM, Eduardo Morras wrote:
> One question, while you run your tests, does "IDLE IN TRANSACTION"
> messages happen? If you run your tests with a permanent connection to
> database, the tables are locked and autovacuum cannot work.

its not that tables are locked, its that vacuum (auto or otherwise)
can't clear any tuples newer than the oldest active transaction.

--
john r pierce N 37, W 122
santa cruz ca mid-left coast

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Eduardo Morras 2011-08-03 17:53:33 Re: Vacuum as "easily obtained" locks
Previous Message Eduardo Morras 2011-08-03 17:21:21 Re: Vacuum as "easily obtained" locks