pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Martín Marqués <martin@2ndquadrant.com>
To: Daniel Fink (PDF) <daniel.fink@pdf.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Enabling bdr in multiple databases on the same postgresql instance/cluster
Date: Sun, 28 Oct 2018 09:44:18 -0300
Message-ID: <838fdb4f-f991-a321-afc4-c064b1bd2d38@2ndquadrant.com> (raw)
In-Reply-To: <0fc0620da55feb903456d8775159ac6d@mail.gmail.com>
References: <0fc0620da55feb903456d8775159ac6d@mail.gmail.com>

El 23/10/18 a las 10:24, Daniel Fink (PDF) escribió:
> 
> I already have a running cluster of BDR nodes.
> 
> Now we want to add an additional database on the same hosts.
> 
> Can I just create a new database and then create/join nodes as in this
> description:
> 
> http://bdr-project.org/docs/1.0.3/quickstart-enabling.html

If you refer to the following architecture:

Node1_DB1 <--> Node2_DB1

And you want to create a new database DB2 on Node1 and have it
replicating to DB2 on Node2 with BDR, then yes, you have to follow the
same process used to create the first BDR group.

Keep in mind you'll need more slots and replication connections, so
check the values of max_replication_slots, max_worker_processes and
max_wal_senders.

Regards,

-- 
Martín Marqués                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services




view thread (3+ messages)

Message-ID: <838fdb4f-f991-a321-afc4-c064b1bd2d38@2ndquadrant.com>
Permalink:  ../838fdb4f-f991-a321-afc4-c064b1bd2d38@2ndquadrant.com/
Also on:    postgresql.org/message-id/838fdb4f-f991-a321-afc4-c064b1bd2d38@2ndquadrant.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: martin@2ndquadrant.com, daniel.fink@pdf.com
  Subject: Re: Enabling bdr in multiple databases on the same postgresql instance/cluster
  In-Reply-To: <838fdb4f-f991-a321-afc4-c064b1bd2d38@2ndquadrant.com>
  References: <0fc0620da55feb903456d8775159ac6d@mail.gmail.com> <838fdb4f-f991-a321-afc4-c064b1bd2d38@2ndquadrant.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox