Re: register/unregister standby Re: Synchronous replication

Поиск
Список
Период
Сортировка
От Dimitri Fontaine
Тема Re: register/unregister standby Re: Synchronous replication
Дата
Msg-id 87eidcxvnn.fsf@hi-media-techno.com
обсуждение исходный текст
Ответ на Re: register/unregister standby Re: Synchronous replication  (Itagaki Takahiro <itagaki.takahiro@gmail.com>)
Ответы Re: register/unregister standby Re: Synchronous replication  (Itagaki Takahiro <itagaki.takahiro@gmail.com>)
Список pgsql-hackers
Itagaki Takahiro <itagaki.takahiro@gmail.com> writes:
>>  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.

Well, you still need to stream the data to the client in a format it
will understand. Would that be the plan of your command proposal?

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

Well that was easier for a proof-of-concept at least.
--
Dimitri Fontaine
PostgreSQL DBA, Architecte


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

Предыдущее
От: Thom Brown
Дата:
Сообщение: Re: register/unregister standby Re: Synchronous replication
Следующее
От: Itagaki Takahiro
Дата:
Сообщение: Re: register/unregister standby Re: Synchronous replication