Re: Differential Backups
От | Alvaro Herrera |
---|---|
Тема | Re: Differential Backups |
Дата | |
Msg-id | Pine.LNX.4.33L2.0110292302210.15563-100000@aguila.protecne.cl обсуждение исходный текст |
Ответ на | Re: Differential Backups (Doug McNaught <doug@wireboard.com>) |
Ответы |
Re: Differential Backups
|
Список | pgsql-general |
On 29 Oct 2001, Doug McNaught wrote: > "Ian Harding" <ianh@tpchd.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 > different. 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 ones. 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[@]atentus.com>) "Coge la flor que hoy nace alegre, ufana. Quién sabe si nacera otra man~ana?"
В списке pgsql-general по дате отправления: