Re: Postgres 7.4.2 hanging when vacuum full is run

Поиск
Список
Период
Сортировка
От Vivek Khera
Тема Re: Postgres 7.4.2 hanging when vacuum full is run
Дата
Msg-id E4467C57-0D9F-4B98-860F-E6656D6FFB3E@khera.org
обсуждение исходный текст
Ответ на Postgres 7.4.2 hanging when vacuum full is run  ("Radhika S" <radhika.sambamurti@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: sequence query performance issues
Следующее
От: "Scott Marlowe"
Дата:
Сообщение: Re: Postgres 7.4.2 hanging when vacuum full is run