Обсуждение: BDR replication

Поиск
Список
Период
Сортировка

BDR replication

От
Nikhil
Дата:
Hello,

Is there any way to specify priority for replication. or any parameter which guarantees something about replication (speed at which it replicates, number of minimum replicas to write). 

Does BDR has a configuration for differentiated services in replication. I want to categorize my data that i replicate. I am ok if some logs are lost in replication. journal entries must not be lost in replication.

Best Regards,
Nikhil  

Re: BDR replication

От
John R Pierce
Дата:
On 1/29/2016 2:27 AM, Nikhil wrote:

Is there any way to specify priority for replication. or any parameter which guarantees something about replication (speed at which it replicates, number of minimum replicas to write). 

Does BDR has a configuration for differentiated services in replication. I want to categorize my data that i replicate. I am ok if some logs are lost in replication. journal entries must not be lost in replication.

its all or nothing, postgres doesn't do 'data maybe'.



-- 
john r pierce, recycling bits in santa cruz

Re: BDR replication

От
Craig Ringer
Дата:
On 29 January 2016 at 18:27, Nikhil <nikhilsmenon@gmail.com> wrote:
 
Is there any way to specify priority for replication. or any parameter which guarantees something about replication (speed at which it replicates, number of minimum replicas to write). 

Not yet. Not in core PostgreSQL streaming replication, nor in BDR or pglogical etc.

Right now you have "synchronous" or "not synchronous" and at most one synchronous node.

Does BDR has a configuration for differentiated services in replication.

No. It's mesh multimaster and all replicated data is treated equally. There's no concept of replication priority, nor am I sure how we could implement such a thing. Data is either replicated or not replicated.

--
 Craig Ringer                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services