Re: register/unregister standby Re: Synchronous replication - Mailing list pgsql-hackers

From Dimitri Fontaine
Subject Re: register/unregister standby Re: Synchronous replication
Date
Msg-id 87eidcxvnn.fsf@hi-media-techno.com
Whole thread Raw
In response to Re: register/unregister standby Re: Synchronous replication  (Itagaki Takahiro <itagaki.takahiro@gmail.com>)
Responses Re: register/unregister standby Re: Synchronous replication  (Itagaki Takahiro <itagaki.takahiro@gmail.com>)
List 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 by date:

Previous
From: Thom Brown
Date:
Subject: Re: register/unregister standby Re: Synchronous replication
Next
From: Itagaki Takahiro
Date:
Subject: Re: register/unregister standby Re: Synchronous replication