Re: Lock issue when trying to vacuum db

Поиск
Список
Период
Сортировка
От Jess Balint
Тема Re: Lock issue when trying to vacuum db
Дата
Msg-id 43a7928f.6322ca7b.0584.730d@mx.gmail.com
обсуждение исходный текст
Ответ на Re: Lock issue when trying to vacuum db  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
That was it. There were two in there. I rolled 'em back and everything is
smooth now. Thanks a lot.

Jess

-----Original Message-----
From: Tom Lane [mailto:tgl@sss.pgh.pa.us] 
Sent: Monday, December 19, 2005 10:03 PM
To: Jess Balint
Cc: pgsql-hackers@postgresql.org
Subject: Re: [HACKERS] Lock issue when trying to vacuum db 

"Jess Balint" <jbalint@gmail.com> writes:
> Hi, I have a database that had a large table in it. I dropped the table,
but
> when I try to full vacuum the db, it just freezes indefinitely. There are
> shared locks held on this that I can't identify. I've tried bouncing this
> instance and ran some queries immediately after starting up.

AFAIK, the only way for a lock to survive a database restart is a
prepared transaction.  Are you running 8.1, and if so what does
pg_prepared_xacts show?
        regards, tom lane



В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Premsun Choltanwanich"
Дата:
Сообщение: Re: lo function changed in PostgreSQL 8.1.1
Следующее
От: Manuel Sugawara
Дата:
Сообщение: Re: localization problem (and solution)