Question

I have installed the new BDR-Solution with PostgreSQL 9.4 and it works like a charm.

My Problem: I want to add more databases to the replication but every time if I added the other database and restarted the servers one server is crashing. pg_hba.conf and postgresql.conf are correct.

So I read on this site that

"You can replicate just one database from a server"

But on this site it sounds like an advantage:

"You must explicitly configure each database you want to replicate." and "BDR replicates per-database, not per-cluster. So you don't have to split your databases up into different PostgreSQL instances just to control how they replicate."

this sounds to me like I could vsync more databases if I want...

Was it helpful?

Solution

BDR can replicate as many databases per server as you want. You must configure each database separately, that's all.

There is not (currently) any wildcard configuration to say "all databases on the current DB".

A typical configuration looks like:

Server1       Server2
DB_A     <=>  DB_A
DB_B     <=>  DB_B
Licensed under: CC-BY-SA with attribution
Not affiliated with dba.stackexchange
scroll top