On 29 Oct 2001, Doug McNaught wrote:
> "Ian Harding" <ianh(at)tpchd(dot)org> writes:
> > I have been thinking about backups. I currently do one a day.
> > However, I thought it might be nice to get differential backups
> > through the day.
> Interesting idea. The one thing I might worry about is that 'diff'
> might (I'm not familiar with its algorithm) eat a great deal of memory
> if the dumps you're comparing are very large and significantly
GNU diff reads in memory both files. You sure need lots to compare
medium sized databases, and I don't think this method will work on big
I think this has to be implemented inside the database; maybe there's a
way of extracting the data from WAL logs (committed transactions?). Then
you need to go to the tables and see what each transaction did...
Another way to do it could be to store a timestamp on each tuple, and
check that for the diff backup. Sounds like you're going to enlarge your
data a lot by just having the timestamps...
Alvaro Herrera (<alvherre[(at)]atentus(dot)com>)
"Coge la flor que hoy nace alegre, ufana. Quién sabe si nacera otra man~ana?"
In response to
pgsql-general by date
|Next:||From: Tod McQuillin||Date: 2001-10-30 02:16:05|
|Subject: Re: Differential Backups|
|Previous:||From: Mayan||Date: 2001-10-30 02:00:28|
|Subject: PostgreSQL dirver?|