Re: register/unregister standby Re: Synchronous replication

Поиск
Список
Период
Сортировка
От Itagaki Takahiro
Тема Re: register/unregister standby Re: Synchronous replication
Дата
Msg-id AANLkTi=GCJ84kXsZtOP3AuFiT8=UTYDyiSW2xyouYJRR@mail.gmail.com
обсуждение исходный текст
Ответ на Re: register/unregister standby Re: Synchronous replication  (Dimitri Fontaine <dfontaine@hi-media.com>)
Ответы Re: register/unregister standby Re: Synchronous replication  (Dimitri Fontaine <dfontaine@hi-media.com>)
Список pgsql-hackers
On Thu, Sep 2, 2010 at 6:41 PM, Dimitri Fontaine <dfontaine@hi-media.com> wrote:
> In fact you don't need shell access here, it's rather easy to stream the
> base backup from the libpq connection, as implemented here :
>
>  http://github.com/dimitri/pg_basebackup
>
>> There's been some talk of being able to stream a base backup over the
>> replication connection too, which would be extremely handy.
>
> Yes please ! :)

One issue of the base backup function is that the operation will
be a long transaction. So, non-transactional special commands,
as like as VACUUM, would be better in terms of performance.
For example, CREATE or ALTER REPLICATION.

Of course, function-based approach is more flexible and
less invasive to the SQL parser. There are trade-offs.

--
Itagaki Takahiro


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

Предыдущее
От: Dimitri Fontaine
Дата:
Сообщение: Re: array_agg() NULL Handling
Следующее
От: Fujii Masao
Дата:
Сообщение: Re: Synchronous replication - patch status inquiry