Re: online tape backup - Mailing list pgsql-admin

From Tom Lane
Subject Re: online tape backup
Date
Msg-id 19449.1171440835@sss.pgh.pa.us
Whole thread Raw
In response to Re: online tape backup  (Michael Monnerie <michael.monnerie@it-management.at>)
List pgsql-admin
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

pgsql-admin by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Question to safe way for minor update
Next
From: gpio Oxxce
Date:
Subject: Θέμα: Re: possible Bug in windows version ?