From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Monnerie <michael.monnerie@it-management.at>
Cc: pgsql-admin@postgresql.org
Subject: Re: online tape backup
Date: Wed, 14 Feb 2007 03:13:55 -0500
Message-ID: <19449.1171440835@sss.pgh.pa.us> (raw)
In-Reply-To: <200702140819.50017@zmi.at>
References: <200702091951.14100.ejortegau@cable.net.co>
<200702131027.02556@zmi.at>
<29978.1171380879@sss.pgh.pa.us>
<200702140819.50017@zmi.at>
Michael Monnerie <michael.monnerie@it-management.at> writes:
> On Dienstag, 13. Februar 2007 16:34 Tom Lane wrote:
>> You're suffering from a fundamental misconception about the nature of
>> WAL. Vacuum doesn't "shrink WAL", and neither does anything else;
> Seems you didn't understand me: When I make a vacuum, and then a base
> backup, I do not need to include the WAL records anymore. But when I do
> a base backup and afterwards vacuum, the WAL will be huge already, also
> making restore much longer.
This is irrelevant, at least in a steady-state environment. If you
vacuum beforehand, the WAL history for that has to be included in what
you need to recover from your previous base backup; and you can't
discard that data until after you take the new backup. So AFAICS it's a
wash; the average time-to-recover is the same either way. Or at least,
VACUUM is not any different from any other burst of activity that you
might want to schedule around.
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, michael.monnerie@it-management.at
Subject: Re: online tape backup
In-Reply-To: <19449.1171440835@sss.pgh.pa.us>
References: <200702091951.14100.ejortegau@cable.net.co> <200702131027.02556@zmi.at> <29978.1171380879@sss.pgh.pa.us> <200702140819.50017@zmi.at> <19449.1171440835@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