Re: [GENERAL] Incremental / Level -1 backup in PG
От | John R Pierce |
---|---|
Тема | Re: [GENERAL] Incremental / Level -1 backup in PG |
Дата | |
Msg-id | 9dfdbb9d-c00a-6266-5fbd-ac6f371ddb01@hogranch.com обсуждение исходный текст |
Ответ на | Re: [GENERAL] Incremental / Level -1 backup in PG (Rakesh Kumar <rakeshkumar464@outlook.com>) |
Ответы |
Re: [GENERAL] Incremental / Level -1 backup in PG
|
Список | pgsql-general |
On 3/22/2017 10:34 AM, Rakesh Kumar wrote: > When the PITR is far apart from the time of base backup (far apart as in, let us > say 4 to 5 days), the first approach beats the second approach hands down. This > coming from experience. Reason is simple. In the second approach every transaction > (from the time of base backup) has to applied to roll-foward to PIT. In incremental backup, > a block is only applied once, regardless of how many times it changed after the base backup. note postgres' WAL archive is by block, not by transaction. also note that postgres effectively does copy-on-write, since update's are treated as insert+delete, so the same blocks aren't written over and over nearly as much as they might be in the oracle storage model. -- john r pierce, recycling bits in santa cruz
В списке pgsql-general по дате отправления: