Re: [RFC] Incremental backup v2: add backup profile to base backup

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: [RFC] Incremental backup v2: add backup profile to base backup
Дата
Msg-id CA+TgmoaPXp=S5OSQKqZXZ52G0fx2Bx5qVKXnkpjdu_C+hBVodQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [RFC] Incremental backup v2: add backup profile to base backup  (Marco Nenciarini <marco.nenciarini@2ndquadrant.it>)
Ответы Re: [RFC] Incremental backup v2: add backup profile to base backup
Список pgsql-hackers
On Mon, Oct 6, 2014 at 11:51 AM, Marco Nenciarini
<marco.nenciarini@2ndquadrant.it> wrote:
> I agree that a full backup does not need to include a profile.
>
> I've added the option to require the profile even for a full backup, as
> it can be useful for backup softwares. We could remove the option and
> build the profile only during incremental backups, if required. However,
> I would avoid the needing to scan the whole backup to know the size of
> the recovered data directory, hence the backup profile.

That doesn't seem to be buying you much.  Calling stat() on every file
in a directory tree is a pretty cheap operation.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Marti Raudsepp
Дата:
Сообщение: Re: Add generate_series(numeric, numeric)
Следующее
От: Gabriele Bartolini
Дата:
Сообщение: Re: [RFC] Incremental backup v2: add backup profile to base backup