Re: Re: Backup and Recovery - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Re: Backup and Recovery
Date
Msg-id 200107041504.f64F4DZ05568@candle.pha.pa.us
Whole thread Raw
In response to Re: Re: Backup and Recovery  (ncm@zembu.com (Nathan Myers))
Responses Re: Re: Backup and Recovery
List pgsql-hackers
> > All that is missing is a program, that can take a consistent physical
> > snapshot (as it was after a particular checkpoint) and would replay
> > the WAL after a restore of such a snapshot. This replay after a
> > consistent snapshot is probably as simple as making the WAL files
> > available to the standard startup rollforward (redo) mechanism, that
> > is already implemented.
> 
> How would you take a physical snapshot without interrupting database 
> operation?  Is a physical/binary snapshot a desirable backup format?  
> People seem to want to be able to restore from ASCII dumps.
> 
> Also, isn't the WAL format rather bulky to archive hours and hours of?
> I would expect high-level transaction redo records to be much more compact;
> mixed into the WAL, such records shouldn't make the WAL grow much faster.

The page images are not needed and can be thrown away once the page is
completely sync'ed to disk or a checkpoint happens.  

The row images aren't that large.  I think any solution would have to
handle page images and row images differently.


--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Michel Soto
Date:
Subject: Strange query execution time
Next
From: Bruce Momjian
Date:
Subject: Re: Re: Backup and Recovery