pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Vikas Sharma <shavikas@gmail.com>
Cc: pgsql-general@postgresql.org
Subject: Re: Postgresql Split Brain: Which one is latest
Date: Tue, 10 Apr 2018 10:07:19 -0700
Message-ID: <986dc1fd-67e3-7992-8941-d9964e9f3220@aklaver.com> (raw)
In-Reply-To: <CAN6gwKysSm3L2qq2ktQvtcsG0UTJNdphyrsqB5kAqkMLOHN9=g@mail.gmail.com>
References: <CAN6gwKz3jOEes0JxRo44JTz+crysqg+LtRk_Je1rvZeUrPCi+Q@mail.gmail.com>
	<fb6d574a-6d7a-56e8-25c8-a30f40c0ad42@aklaver.com>
	<CAN6gwKzRyw=0EWb0eQg1qTDSoQQY+B0_Tn916KA+467sqKuchQ@mail.gmail.com>
	<20ab2308-f781-ef04-3a99-7197dc83315b@aklaver.com>
	<CAN6gwKx_RA+Zh6UP3vb4CqM8+cyS2Kejtw8F_Hs_jwS8u8KvyQ@mail.gmail.com>
	<2ed1cf8f-4266-6d6c-bc65-7a79a4e7f241@aklaver.com>
	<CAN6gwKysSm3L2qq2ktQvtcsG0UTJNdphyrsqB5kAqkMLOHN9=g@mail.gmail.com>

On 04/10/2018 10:02 AM, Vikas Sharma wrote:
> Max count is one way (vague I agree), before confirming I will ask the 
> application owner to have a look on data in tables as well.

Along that line and dependent on the size of the database and individual 
tables you might try:

1) Do a plain text dump of the data from the same table from each master.

2) Diff the data dumps.

> 
> Regards
> 
> 



-- 
Adrian Klaver
adrian.klaver@aklaver.com




view thread (13+ messages)  latest in thread

Message-ID: <986dc1fd-67e3-7992-8941-d9964e9f3220@aklaver.com>
Permalink:  ../986dc1fd-67e3-7992-8941-d9964e9f3220@aklaver.com/
Also on:    postgresql.org/message-id/986dc1fd-67e3-7992-8941-d9964e9f3220@aklaver.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: adrian.klaver@aklaver.com, shavikas@gmail.com
  Subject: Re: Postgresql Split Brain: Which one is latest
  In-Reply-To: <986dc1fd-67e3-7992-8941-d9964e9f3220@aklaver.com>
  References: <CAN6gwKz3jOEes0JxRo44JTz+crysqg+LtRk_Je1rvZeUrPCi+Q@mail.gmail.com> <fb6d574a-6d7a-56e8-25c8-a30f40c0ad42@aklaver.com> <CAN6gwKzRyw=0EWb0eQg1qTDSoQQY+B0_Tn916KA+467sqKuchQ@mail.gmail.com> <20ab2308-f781-ef04-3a99-7197dc83315b@aklaver.com> <CAN6gwKx_RA+Zh6UP3vb4CqM8+cyS2Kejtw8F_Hs_jwS8u8KvyQ@mail.gmail.com> <2ed1cf8f-4266-6d6c-bc65-7a79a4e7f241@aklaver.com> <CAN6gwKysSm3L2qq2ktQvtcsG0UTJNdphyrsqB5kAqkMLOHN9=g@mail.gmail.com> <986dc1fd-67e3-7992-8941-d9964e9f3220@aklaver.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