Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mpw92-0005Hl-UG for pgsql-admin@arkaria.postgresql.org; Wed, 24 Nov 2021 17:33:20 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mpw91-0003rq-II for pgsql-admin@arkaria.postgresql.org; Wed, 24 Nov 2021 17:33:19 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mpw91-0003rf-7p for pgsql-admin@lists.postgresql.org; Wed, 24 Nov 2021 17:33:19 +0000 Received: from mout.perfora.net ([74.208.4.197]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mpw8y-0000AR-Kw for pgsql-admin@postgresql.org; Wed, 24 Nov 2021 17:33:18 +0000 Received: from [192.168.1.167] ([98.169.214.209]) by mrelay.perfora.net (mreueus003 [74.208.5.2]) with ESMTPSA (Nemesis) id 0LwK6a-1mYuKX2GS6-0181DG; Wed, 24 Nov 2021 18:33:11 +0100 Subject: Re: Re: To: Simon Riggs Cc: Scott Ribe , Firthouse banu , pgsql-admin References: From: MichaelDBA Message-ID: Date: Wed, 24 Nov 2021 12:33:08 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 PostboxApp/7.0.52 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Provags-ID: V03:K1:wJlGoeM+oeiYsBPQN51lMKS11fG/DzAj4UCdboUQgCT3yT/43RG aHYnkXxJ0Z06xHTsW4QWQbBKiy5RU6CPnGfIPk118GwUxYpJkE6ZPnnHuYByR3/M0+ut1fg vvg30AqDO7TSE4YEuqZGIRSstXvKtPMb7aRPUv9kAD2jb84m2/m5FdEZdewS5lbu/dQMNjh wmkFidtSgqKC0JNfOmUjQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:+qW6xF8BQEg=:3iwkHR7eqFsPUJv65j4mIG wNyk31Tp4W9fIql54e/vdbDOz0uUZgR+xpjc73OSSJZWW4doD2b5p2I5r1fird0+reVJSELaw qMg4T8WWZtkCPiSXRfnvxaFQ4uoo2CqKwE/V4jHSh8Bu8ju0oLTrNk7TnsbxJuZK3Gn4LVG4D kcbYbgNJ16nlPlrZMyVcr3/qPhjtmW6MA09a3Q6pYw/kR4lKCVB88xZtrOznJsio6piwwFyrf navQkqBfzaVwG8BnZSrn5fXU5fjhrl0qU6vsaQogg7xZ8EuWSt9hcTgh3stiToORvqTeySLjf aacrD3oSZlIrHwb33ZURwQ5H6jPYBtNe/Q/EbbUznwv/8weD0u51HWRAZmBOeY2TMRO4tI2QR WhWpsiieoF7fkuba7SR1IKRRnWqwPROAQylLC4+LKGA/CCWXNRpu2EYELsLvf2fitqAnpls9A VvyG3lXz5c//Fj/Hx5tlPVq6x2/rZCab4PBvpCZmbcIJZQ9ALJyBNCHODOHJVQhoFKD32lsnU h4WKhFNwivD9WU4KgnREsh3dv83ZnVnYgOiZwmZrFs61IiqW4mcqcG3HAC6pi/btyXAxyAndp 1vc/TALB4J1ygU4xL/c1aV3zAbLakco3Mh+c/ihYchF6osvIumzYqpj2HGvreS4DlkaMAofye DJZtS/33NDwv+shyTr7iSIkDCSoeNVISk7JzPTv2Ruy0xNI0zGtLOkCSg5vyuMnlIk9DckW6T 6pDbiLsgRPeB6g6S List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Unfortunately, it should be stated that BDR is not open source.  You have to be a EnterpriseDB customer to get it.  I think this applies to BDR versions 2 and 3.  I think only version 1 is truly open source at this point. Simon Riggs wrote on 11/24/2021 12:21 PM: > On Wed, 24 Nov 2021 at 14:17, Scott Ribe wrote: >>> On Nov 24, 2021, at 2:18 AM, Firthouse banu wrote: >>> >>> Please do let me know best tool for this I have 5 servers all should be in sync with data. >> Have you analyzed what data conflicts will occur and how to resolve them? > Which makes it sound like a problem exists, so I think some additional > information is needed for a balanced assessment. > > BDR has facilities that allow you to find out whether any conflicts > occur for an application, so it is easy to assess this. Conflicts that > do occur are resolved automatically using programmable rules, yet > logged for later assessment. Data quality tools allow you to confirm > no anomalies exist in realtime. > > Any conflicts that occur would be as a result of 1) data access > patterns, 2) choice of consistency, 3) how transactions are routed to > nodes. It isn't random and many applications are naturally conflict > free, even with randomly routed transactions. > > If you use BDR using the AlwaysOn architecture then all transactions > are routed via a single node and no conflicts occur in normal running. > Depending on how failover is achieved, there may be a small window for > conflicts. >