Re: PostgreSQL “tuple already updated by self”

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: PostgreSQL “tuple already updated by self”
Дата
Msg-id 20180523001332.GB3461@paquier.xyz
обсуждение исходный текст
Ответ на Re: PostgreSQL “tuple already updated by self”  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On Tue, May 22, 2018 at 09:17:15AM -0400, Robert Haas wrote:
> Another interesting question is how the system got into this state in
> the first place, of course.  Was it a bug, or did you do something
> that corrupted the database?

Perhaps a side effect which has been fixed in d2599ecf for 9.6.9?
The thing is that pruning chains broken by bugs like freeze-the-dead
could remain undetected for some time.  On top of that autovacuum does
not check after duplicated OIDs registered when building the list, and
executes each table in its own transaction, so an autoanalyze would not
have seen the issue, still it was doing twice the work.  One thing could
be to run diagnostic checks on all system catalogs (pg_catcheck can
help here).
--
Michael

Вложения

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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: Fix some error handling for read() and errno
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: Time to put context diffs in the grave