Re: Avoiding Refreezing XIDs Repeatedly - Mailing list pgsql-performance

From Tom Lane
Subject Re: Avoiding Refreezing XIDs Repeatedly
Date
Msg-id 14441.1423512034@sss.pgh.pa.us
Whole thread Raw
In response to Re: Avoiding Refreezing XIDs Repeatedly  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List 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 by date:

Previous
From: Luis Antonio Dias de Sá Junior
Date:
Subject: Survey: Max TPS you've ever seen
Next
From: Andreas Joseph Krogh
Date:
Subject: Poor performance when deleting from entity-attribute-value type master-table