Re: Error on vacuum: xmin before relfrozenxid

Поиск
Список
Период
Сортировка
От Paolo Crosato
Тема Re: Error on vacuum: xmin before relfrozenxid
Дата
Msg-id CAKMFJuffEmarjLJY+8GQVXH=F=EWgxX=VgcYtub6_BG-Wfq4Zw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Error on vacuum: xmin before relfrozenxid  (Andres Freund <andres@anarazel.de>)
Список pgsql-general


2018-05-23 1:39 GMT+02:00 Andres Freund <andres@anarazel.de>:
Hi,

On 2018-05-23 00:04:26 +0200, Paolo Crosato wrote:
> I managed to recover the log of the first time we run into the issue, the
> error was the same but on template1:
>
> May  8 11:26:46 xxx postgres[32543]: [1154-1] user=,db=,client= ERROR:
> found xmin 2600758304 from before relfrozenxid 400011439
> May  8 11:26:46 xxx postgres[32543]: [1154-2] user=,db=,client= CONTEXT:
> automatic vacuum of table "template1.pg_catalog.pg_authid"

pg_authid (along with a few other tables) is shared between
databases. So that's just hte same error.  At which rate are you
creating / updating database users / roles?

Once or twice a month. Yesterday I updated some rows on the table with a 

update pg_auth_id set rolname=rolname where rolname=...

for some users in the hope to work around the issue, but it didn't work. That's why there are recent xmin on some rows.
 
Best Regards,

Paolo Crosato

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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: PostgreSQL backup issue
Следующее
От: "a"
Дата:
Сообщение: How do I copy an element of composite type array into csv file?