Re: postgres deadlocks

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: postgres deadlocks
Дата
Msg-id 20010726094107.A27953@svana.org
обсуждение исходный текст
Ответ на Re: postgres deadlocks  (Joseph Shraibman <jks@selectacast.net>)
Список pgsql-general
On Wed, Jul 25, 2001 at 06:32:48PM -0400, Joseph Shraibman wrote:
> But *something* got idle in trasaction.
>
> Even more fustrating it seemed that my whole database was locked, not
> just one table, and what could have locked the whole thing except
> vacuum?

My guess is that if vacuum was processing say pg_shadow when it locked, that
could prevent other people from logging in. Strange though, because vacuum
checks for all locks *before* actually doing anything, so vacuum would be
waiting, not actually locked.

Kill the transaction with kill -INT is the way out.

You should find out what exactly was being updated that stop
mid-transaction.

HTH,
--
Martijn van Oosterhout <kleptog@svana.org>
http://svana.org/kleptog/
> It would be nice if someone came up with a certification system that
> actually separated those who can barely regurgitate what they crammed over
> the last few weeks from those who command secret ninja networking powers.

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

Предыдущее
От: missive@frontiernet.net (Lee Harr)
Дата:
Сообщение: Re: Inherit a primary key?
Следующее
От: Mike C
Дата:
Сообщение: php error