Re: Allowing multiple concurrent base backups

Поиск
Список
Период
Сортировка
Искать
От
Heikki Linnakangas
Тема
Re: Allowing multiple concurrent base backups
Дата
Msg-id
4D2CA989.50602@enterprisedb.com
Ответ на
Список
Дерево обсуждения
Allowing multiple concurrent base backups Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: Allowing multiple concurrent base backups Jeff Davis <pgsql@j-davis.com>
Re: Allowing multiple concurrent base backups Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: Allowing multiple concurrent base backups Jeff Davis <pgsql@j-davis.com>
Re: Allowing multiple concurrent base backups Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: Allowing multiple concurrent base backups Magnus Hagander <magnus@hagander.net>
Re: Allowing multiple concurrent base backups Jeff Davis <pgsql@j-davis.com>
Re: Allowing multiple concurrent base backups Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: Allowing multiple concurrent base backups Tom Lane <tgl@sss.pgh.pa.us>
Re: Allowing multiple concurrent base backups Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: Allowing multiple concurrent base backups Josh Berkus <josh@agliodbs.com>
Re: Allowing multiple concurrent base backups "Ross J. Reedstrom" <reedstrm@rice.edu>
Re: Allowing multiple concurrent base backups Robert Haas <robertmhaas@gmail.com>
Re: Allowing multiple concurrent base backups Josh Berkus <josh@agliodbs.com>
Re: Allowing multiple concurrent base backups Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: Allowing multiple concurrent base backups Simon Riggs <simon@2ndQuadrant.com>
Re: Allowing multiple concurrent base backups Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: Allowing multiple concurrent base backups Magnus Hagander <magnus@hagander.net>
Re: Allowing multiple concurrent base backups Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: Allowing multiple concurrent base backups Fujii Masao <masao.fujii@gmail.com>
Re: Allowing multiple concurrent base backups Magnus Hagander <magnus@hagander.net>
Re: Allowing multiple concurrent base backups Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: Allowing multiple concurrent base backups Fujii Masao <masao.fujii@gmail.com>
Re: Allowing multiple concurrent base backups Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: Allowing multiple concurrent base backups Fujii Masao <masao.fujii@gmail.com>
Re: Allowing multiple concurrent base backups Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: Allowing multiple concurrent base backups Fujii Masao <masao.fujii@gmail.com>
Re: Allowing multiple concurrent base backups Robert Haas <robertmhaas@gmail.com>
Re: Allowing multiple concurrent base backups Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: Allowing multiple concurrent base backups Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: Allowing multiple concurrent base backups Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: Allowing multiple concurrent base backups Magnus Hagander <magnus@hagander.net>
Re: Allowing multiple concurrent base backups Magnus Hagander <magnus@hagander.net>
Re: Allowing multiple concurrent base backups Tom Lane <tgl@sss.pgh.pa.us>
Re: Allowing multiple concurrent base backups marcin mank <marcin.mank@gmail.com>
Re: Allowing multiple concurrent base backups David Fetter <david@fetter.org>
Re: Allowing multiple concurrent base backups Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: Allowing multiple concurrent base backups David Fetter <david@fetter.org>
Re: Allowing multiple concurrent base backups Tom Lane <tgl@sss.pgh.pa.us>
Re: Allowing multiple concurrent base backups David Fetter <david@fetter.org>
Re: Allowing multiple concurrent base backups Aidan Van Dyk <aidan@highrise.ca>
Re: Allowing multiple concurrent base backups Robert Haas <robertmhaas@gmail.com>
Re: Allowing multiple concurrent base backups David Fetter <david@fetter.org>
Re: Allowing multiple concurrent base backups Dimitri Fontaine <dimitri@2ndQuadrant.fr>
Re: Allowing multiple concurrent base backups Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: Allowing multiple concurrent base backups Cédric Villemain <cedric.villemain.debian@gmail.com>
On 11.01.2011 20:51, Tom Lane wrote:
> Heikki Linnakangas  writes:
>> I implemented this in two ways, and can't decide which I like better:
>
>> 1. The contents of the backup label file are returned to the caller of
>> do_pg_start_backup() as a palloc'd string.
>
>> 2. do_pg_start_backup() creates a temporary file that the backup label
>> is written to (instead of "backup_label").
>
>> Implementation 1 changes more code, as pg_start/stop_backup() need to be
>> changed to write/read from memory instead of file, but the result isn't
>> any more complicated. Nevertheless, I somehow feel more comfortable with 2.
>
> Seems like either one of these is fairly problematic in that you have to
> have some monstrous kluge to get the backup_label file to appear with
> the right name in the tarfile.

Oh. I'm surprised you feel that way - that part didn't feel ugly or 
kludgey at all to me.

>  How badly do we actually need this?
> I don't think the use-case for concurrent base backups is all that large
> in practice given the I/O hit it's going to involve.

It makes it very convenient to set up standbys, without having to worry 
that you'll conflict e.g with a nightly backup. I don't imagine people 
will use streaming base backups for very large databases anyway.

--   Heikki Linnakangas  EnterpriseDB   http://www.enterprisedb.com

В списке pgsql-hackers по дате отправления
От: Tom Lane
Дата:
Сообщение: Re: Bug in pg_describe_object
От: Josh Berkus
Дата:
FAQ