Re: Avoiding Refreezing XIDs Repeatedly

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Avoiding Refreezing XIDs Repeatedly
Дата
Msg-id 14441.1423512034@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Avoiding Refreezing XIDs Repeatedly  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-performance
Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> bkrug wrote:
>> The problem I'm facing is that I have many large (several GB) tables that are
>> not being changed (they are several days old) but auto-vacuum keeps scanning
>> and updating them every time the xid wraps around and thus my rsync back-up
>> process sees that the disk files have changed and must copy them.

> We have considered changing this, but it needs a concerted effort.  It's
> not a simple problem.

I'm not following.  Yes, the tables will be *scanned* at least once per
XID wraparound cycle, but if they are in fact static then they should not
be changing once the tuples have been frozen the first time.  If this is
incurring continuing rsync work then something else is going on.

            regards, tom lane


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

Предыдущее
От: Luis Antonio Dias de Sá Junior
Дата:
Сообщение: Survey: Max TPS you've ever seen
Следующее
От: Andreas Joseph Krogh
Дата:
Сообщение: Poor performance when deleting from entity-attribute-value type master-table