Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cqK7g-0004es-9x for pgsql-admin@arkaria.postgresql.org; Tue, 21 Mar 2017 13:46:52 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cqK7f-00042y-Nw for pgsql-admin@arkaria.postgresql.org; Tue, 21 Mar 2017 13:46:51 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cqK5q-0000mB-Ly for pgsql-admin@postgresql.org; Tue, 21 Mar 2017 13:44:58 +0000 Received: from mail-qt0-x22d.google.com ([2607:f8b0:400d:c0d::22d]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1cqK5i-00027u-2M for pgsql-admin@postgresql.org; Tue, 21 Mar 2017 13:44:57 +0000 Received: by mail-qt0-x22d.google.com with SMTP id i34so131160729qtc.0 for ; Tue, 21 Mar 2017 06:44:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=a33En+R+E+9E3mzEeS7/CAkxZJpt8ML819HYWKM/me0=; b=FVRZ/XAG4zTzjap0MngNCpbS5/4Wc5/fpaUXHnZU5JS9qRmfzYQo6dzDkgJHbOdcJm SXa3scLMKgTf0sEQoroDe1Gy5IPzbNbWi0Vs9xcryEkSNSvxRL2TI0ZAWwM+DJigDkdv jlWyKIjeDeLR6tvqdDffzrZe1bofR7zNIlnzq8GsS6RyUHf40UpRwlXHgaVTERibB1Rg fu7uT5SEUwcyiICTIqKBFhraFXSTz4HsYQs/3ois/cYwgcbteXQ3nl35K4yPmXw7vprX iFLIeqZqyyONf7KbIJEj2McYX5S92jw1iiVMw7xfIENXQ4wunxdJM5ftM3lZisd73bmR A3rg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=a33En+R+E+9E3mzEeS7/CAkxZJpt8ML819HYWKM/me0=; b=QMWy9vtqwnUmy3OGQSp1MjiGHcYwfYp3r5rqhdAj+L9eG9Q1IBrOx1IvE86EbQElS/ FvG7QzrgT1AM+lLNUx2pKfcwGKCT/Kx0ZyL/sN3ti47HzRWSvXfuut3wzw2hBiLpV25w puT2YfFkROJh/AVsV+ngOnOjrq2RbOrg0M0Ra8LPh6uNfNtBpi3m2bVWfJx/pvxisAED MWOstT7UwTK1CnVT5GrBl3rifa1yFzLU798Lc57Z8XBq9AQC+nlIX5BILJQTHHvnarwD lagJ81xKLxmlGT/zccNEqBq/2uJ8Hz8qZjqovM/VaQs3SfKy3I/qO4IeExTZ2Figpbvu K+RA== X-Gm-Message-State: AFeK/H07/7gTsZj7foe8uaGYrITm7g92z1XIXBAEqM86DHfok1UXPZ2wfLTJplvKuNOysFFDb5ZpOJSxATgFtw== X-Received: by 10.200.55.55 with SMTP id o52mr31129673qtb.279.1490103887764; Tue, 21 Mar 2017 06:44:47 -0700 (PDT) MIME-Version: 1.0 Received: by 10.140.107.226 with HTTP; Tue, 21 Mar 2017 06:44:47 -0700 (PDT) In-Reply-To: <26F9D3D5-EA04-436B-BF2B-5994E9DBE596@sqlexec.com> References: <1489553982608-5949678.post@n3.nabble.com> <1398211489576882@web5g.yandex.ru> <1489721413358-5950172.post@n3.nabble.com> <1489721642262-5950175.post@n3.nabble.com> <30946781.200.1489855972019.JavaMail.Administrator@natalia-srv> <1636173168.4735929.1490083675424@mail.yahoo.com> <26F9D3D5-EA04-436B-BF2B-5994E9DBE596@sqlexec.com> From: Poul Kristensen Date: Tue, 21 Mar 2017 14:44:47 +0100 Message-ID: Subject: Re: Postgres - Replication To: "Michael@sqlexec.com" Cc: Om Prakash Jaiswal , Alvaro Aguayo Garcia-Rada , bricklen , "pgsql-admin@postgresql.org" , jasoninmel Content-Type: multipart/alternative; boundary=001a113c2332e8f2da054b3dd8a4 X-Pg-Spam-Score: -2.4 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org --001a113c2332e8f2da054b3dd8a4 Content-Type: text/plain; charset=UTF-8 If you redirect you syslog to another server, the "pg_log" will be written in /var/log/... and pg_log will just write that it has been redirected. /Poul 2017-03-21 12:07 GMT+01:00 Michael@sqlexec.com : > BDR works fine for writeloads that are geographically separate. True > multi-master is ACID compliant when you have a global transaction manager > like Postgres-xc or Postgres-xl. > > Regards > > > Sent from my iPad > > On Mar 21, 2017, at 4:07 AM, Om Prakash Jaiswal > wrote: > > I am using Bucardo. > It is working fine. It has been runinning for 5 years across 50 replicated > nodes. > I strongly recommend Bucardo for master-master replication. > It is trigger based asynchronous replication system. > > Regards > Om Prakash > > > > On Saturday, 18 March 2017 10:24 PM, Alvaro Aguayo Garcia-Rada < > aaguayo@opensysperu.com> wrote: > > > I have some experience with BDR. Works fine. > > Alvaro Aguayo > Jefe de Operaciones > Open Comb Systems E.I.R.L. > > Oficina: (+51-1) 3377813 <+51%201%203377813> | RPM: #034252 / (+51) > 995540103 <+51%20995%20540%20103> | RPC: (+51) 954183248 > <+51%20954%20183%20248> > Website: www.ocs.pe > > ----- Original Message ----- > From: "bricklen" > To: "jasoninmel" > Cc: pgsql-admin@postgresql.org > Sent: Saturday, 18 March, 2017 11:41:48 AM > Subject: Re: [ADMIN] Postgres - Replication > > > > > > On Thu, Mar 16, 2017 at 8:34 PM, jasoninmel < jasoninmel+1@gmail.com > > wrote: > > > > Please note that I'm open for any other replication method that would > allow > better scalability. One of the best option would be to have Multi-master > setup though I haven't seen any documentation around the support for such > capability by Postgres. > > > Postgresql doesn't support multi-master in the core project but there are > options available. Have you come across BiDirectional Replication (BDR) > yet? https://2ndquadrant.com/en/resources/bdr/ > > > > -- > Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-admin > > > > -- Med venlig hilsen / Best regards Poul Kristensen Linux-OS/Virtualizationexpert and Oracle DBA --001a113c2332e8f2da054b3dd8a4 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
If you redirect you syslog to another server, the "pg= _log" will be written in
/var/log/... and pg_log will just write t= hat it has been redirected.

/Poul



2017-03-21 12:07 GMT+01:00 M= ichael@sqlexec.com <michael@sqlexec.com>:
BDR works fine for writeloads = that are geographically separate.=C2=A0 True multi-master is ACID compliant= when you have a global transaction manager like Postgres-xc or Postgres-xl= .

Regards


Sent from my iPad
=

On Mar 21, 2017, at 4:07 AM, Om Prakash Jaiswal = <op12om@yahoo.co= .in> wrote:

I am using Bucardo= .
It is working fine. It has been runinning for 5 years acros= s 50 replicated nodes.
I strongly recommend Bucardo for maste= r-master replication.
It is trigger based asynchronous replic= ation system.

Regards
Om Pra= kash



<= div style=3D"font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucid= a Grande,Sans-Serif;font-size:16px">
On Saturday, 18 March 2017 10:24 PM, Alvaro Aguayo Garcia-Rada = <aaguayo@op= ensysperu.com> wrote:


I have some experience w= ith BDR. Works fine.

Alvaro Aguayo
Jefe de Operaciones
Open Comb Systems E.I.= R.L.

Oficina: (+51-1) 3377813 | RPM= : #034252 / (+51) 995540103=C2=A0 | RPC: (+51) 954183248Website: ww= w.ocs.pe

----- Ori= ginal Message -----
From: "bricklen" <bricklen@g= mail.com>
To: "jasoninmel" <jasoninme= l+1@gmail.c= om>
Cc: pgsql-admin@postgresql.org
Sent: Saturday, 18 March, 2017 11:41:48 AM
Sub= ject: Re: [ADMIN] Postgres - Replication





On Thu, Mar 16, 2017 at 8:34 PM, jasoninmel < jasoninmel+1@gmail.com > w= rote:



Please note that I'm open for any other replication method that = would allow
better scalability. One of the best option w= ould be to have Multi-master
setup though I haven't = seen any documentation around the support for such
capab= ility by Postgres.


Postgresql doesn't support multi-master in the core project but there = are options available. Have you come across BiDirectional Replication (BDR)= yet? https://2ndquadrant.com/en/resources/bdr/
=


--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)<= br clear=3D"none">To make changes to your subscription:
<= a shape=3D"rect" href=3D"http://www.postgresql.org/mailpref/pgsql-admin" ta= rget=3D"_blank">http://www.postgresql.org/mailpref/pgsql-admin


<= /div>



--
Med venlig hilsen / Best regards
Poul Kristen= sen
Linux-OS/Virtualizationexpert and Oracle DBA
--001a113c2332e8f2da054b3dd8a4--