Re: Database corruption event, unlockable rows, possibly bogus virtual xids? Invalid backend server xid

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Database corruption event, unlockable rows, possibly bogus virtual xids? Invalid backend server xid
Дата
Msg-id 3721.1361480761@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Database corruption event, unlockable rows, possibly bogus virtual xids? Invalid backend server xid  (Ned Wolpert <ned.wolpert@imemories.com>)
Ответы Re: Database corruption event, unlockable rows, possibly bogus virtual xids? Invalid backend server xid  (Ned Wolpert <ned.wolpert@imemories.com>)
Список pgsql-general
Ned Wolpert <ned.wolpert@imemories.com> writes:
>   Event: Running 9.1.6 with hot-standby, archiving 4 months of wal files,
> and even a nightly pg_dump all. 50G database.  Trying to update or delete a
> row in a small (21 row, but heavily used table) would lock up completely.
> Never finish. Removed all clients, restarted the db instance, no joy. Check
> pg_stat_activity, and nothing that wasn't idle.... run the delete, locked
> up.

I'm betting one of those prepared transactions had updated or deleted
this row, and thus held a row lock on it.  (Come to think of it, a
SELECT FOR UPDATE/SHARE might have been enough.)  Did you try committing
or rolling back those xacts?

            regards, tom lane

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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: Need help extripating plpgsql
Следующее
От: Ned Wolpert
Дата:
Сообщение: Re: Database corruption event, unlockable rows, possibly bogus virtual xids? Invalid backend server xid