Re: Postgres 7.4.2 hanging when vacuum full is run

From: Vivek Khera <vivek(at)khera(dot)org>
To: Pgsql performance <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Postgres 7.4.2 hanging when vacuum full is run
Date: 2007-09-28 14:53:20
Message-ID: E4467C57-0D9F-4B98-860F-E6656D6FFB3E@khera.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance


On Sep 28, 2007, at 10:28 AM, Radhika S wrote:

> 20775 ? S 0:00 postgres: abc myDB [local] idle in
> transaction
> 20776 ? S 0:00 postgres: abc myDB [local] idle
> 17509 ? S 0:06 postgres: abc myDB [local] VACUUM
> waiting
> 24656 ? S 0:00 postgres: abc myDB [local] INSERT
> waiting

You're vacuum is probably waiting for the "idle in transaction"
session to finish, so it can clean up. It can't take a lock if your
transaction has locks. Your other tasks are probably waiting behind
the vacuum. Don't leave your transactions open for a long time. it
is bad.

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Scott Marlowe 2007-09-28 15:28:39 Re: Postgres 7.4.2 hanging when vacuum full is run
Previous Message Richard Huxton 2007-09-28 14:43:41 Re: sequence query performance issues