From: Tom Lane <tgl@sss.pgh.pa.us>
To: Arctic Toucan <arctic_toucan@hotmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: How can I avoid Frozenxid wraparound on failover to a standby(PITR) database?
Date: Fri, 05 Sep 2008 14:45:49 -0400
Message-ID: <29354.1220640349@sss.pgh.pa.us> (raw)
In-Reply-To: <BAY126-W7398550C91F253B656DCC9C580@phx.gbl>
References: <BAY126-W41BCC3E747431387BDB0999C580@phx.gbl>
<26690.1220633537@sss.pgh.pa.us>
<BAY126-W7398550C91F253B656DCC9C580@phx.gbl>
Arctic Toucan <arctic_toucan@hotmail.com> writes:
> My standard settings in the config file are:
> autovacuum_freeze_max_age = 2,000,000,000
> vacuum_freeze_min_age = 100,000,000
Ah, well, there's the issue. It could be expected that no tuple
freezing would happen before autovacuum_freeze_max_age. I'd take a zero
off that value I think --- you're not leaving yourself a lot of daylight
between freeze_max_age and wraparound. You could get away with that
setting in a smaller database that didn't take so long to vacuum, but
in a bigger one you want to freeze a bit more aggressively IMHO.
regards, tom lane
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-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, arctic_toucan@hotmail.com
Subject: Re: How can I avoid Frozenxid wraparound on failover to a standby(PITR) database?
In-Reply-To: <29354.1220640349@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