Re: Avoiding Refreezing XIDs Repeatedly

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Avoiding Refreezing XIDs Repeatedly
Дата
Msg-id 20150209185305.GF3391@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: Avoiding Refreezing XIDs Repeatedly  (bkrug <bkrug@usatech.com>)
Список pgsql-performance
bkrug wrote:
> Matheus de Oliveira wrote
> > It changed in recent versions (9.3 or 9.4, I don't recall exactly which)
> > and moved to tuple header, but what you described is exactly what was
> > done,
> > the xid was 2.
>
> Should the relfrozenxid of pg_class then equal 2 for very old and already
> vacuumed tables? Because that is not what I am seeing.

No.  The problem is that it's not easy to change the relfrozenxid when
an INSERT/UPDATE command creates a tuple with a non-frozen XID.

--
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


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

Предыдущее
От: bkrug
Дата:
Сообщение: Re: Avoiding Refreezing XIDs Repeatedly
Следующее
От: Matheus de Oliveira
Дата:
Сообщение: Re: Avoiding Refreezing XIDs Repeatedly