Re: PITR Functional Design v2 for 7.5

From: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: PITR Functional Design v2 for 7.5
Date: 2004-03-10 17:33:25
Message-ID: 404F5165.20501@pse-consulting.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:

>Andreas Pflug <pgadmin(at)pse-consulting(dot)de> writes:
>
>
>>Tom Lane wrote:
>>
>>
>>>Why is that a useful approach? You might as well shut down the
>>>postmaster and do a cold filesystem backup,
>>>
>>>
>>>
>>We're talking about *hot* backup, aren't we?
>>
>>
>
>Exactly. The approach you're sketching can't work for hot backup,
>because it effectively assumes that the database won't be changing.
>
>
Well in the first place my posting was to express my suspicion that WAL
replay relies on clog/pg_control being accurate, i.e. transactions
marked as flushed must be on disk. AFAICS this is the consequence of WAL
replay implementation. In case of hot backup, this means that data files
must not be older than clog. Do you agree? So PITR needs a mechanism to
insure this at backup time.

Next question would be: If the point in time I'd like to recover is that
very backup checkpoint time, do I need xlog at all?

Regards,
Andreas

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Zeugswetter Andreas SB SD 2004-03-10 17:37:41 Re: PITR Functional Design v2 for 7.5
Previous Message Andrew Dunstan 2004-03-10 17:23:38 selective statement logging