From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: bkrug <bkrug@usatech.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Avoiding Refreezing XIDs Repeatedly
Date: Mon, 09 Feb 2015 15:00:34 -0500
Message-ID: <14441.1423512034@sss.pgh.pa.us> (raw)
In-Reply-To: <20150209191035.GG3391@alvh.no-ip.org>
References: <1423497516487-5837222.post@n5.nabble.com>
<CAJghg4KAFiFnH6inJ+K7Bfef9bgGYt7E6MM3rkevqiT=Q245HQ@mail.gmail.com>
<1423507553954-5837247.post@n5.nabble.com>
<CAJghg4LziRUuHKhuiqLjW0fuoop6kZA_CSuqx+=ZrU7gyuwKhw@mail.gmail.com>
<1423508825585-5837251.post@n5.nabble.com>
<20150209191035.GG3391@alvh.no-ip.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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
--
Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: tgl@sss.pgh.pa.us, alvherre@2ndquadrant.com, bkrug@usatech.com
Subject: Re: Avoiding Refreezing XIDs Repeatedly
In-Reply-To: <14441.1423512034@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox