Re: Postgres 7.4.2 hanging when vacuum full is run - Mailing list pgsql-performance

From Vivek Khera
Subject Re: Postgres 7.4.2 hanging when vacuum full is run
Date
Msg-id E4467C57-0D9F-4B98-860F-E6656D6FFB3E@khera.org
Whole thread Raw
In response to Postgres 7.4.2 hanging when vacuum full is run  ("Radhika S" <radhika.sambamurti@gmail.com>)
List 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.

pgsql-performance by date:

Previous
From: Richard Huxton
Date:
Subject: Re: sequence query performance issues
Next
From: "Scott Marlowe"
Date:
Subject: Re: Postgres 7.4.2 hanging when vacuum full is run