Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VjqOx-00056j-3g for pgsql-general@arkaria.postgresql.org; Fri, 22 Nov 2013 13:04:03 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VjqOw-0003wZ-K5 for pgsql-general@arkaria.postgresql.org; Fri, 22 Nov 2013 13:04:02 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VjqOv-0003vy-6N for pgsql-general@postgresql.org; Fri, 22 Nov 2013 13:04:01 +0000 Received: from mail-bk0-x235.google.com ([2a00:1450:4008:c01::235]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VjqOo-0001UY-9J for pgsql-general@postgresql.org; Fri, 22 Nov 2013 13:04:00 +0000 Received: by mail-bk0-f53.google.com with SMTP id na10so769891bkb.26 for ; Fri, 22 Nov 2013 05:03:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=V3Pc9vUe7LAx4JvZzZknzyL5fSvr3OHg5nPlAbug2pQ=; b=NlMkOCAtcNSR2NJet/f5Tk5hCs1X8cS+6hLbbisRoPYbtxMMp7/4a5qa0xRYvU1mp7 NKPqMzQmN+6zGmz0ssScPvWecF1sIJDks6H/h8YztuFyMCvSDc7KNyvkpeue1gesfJ9K N7NUyNKaz+NHGXfDU2vQOkq+usov7UOxWqjI4xJjOz+y0VES4D4yKeSDnvx+nu1VcwMg 92LbtEP0C1bvj+jDJEqQCwNgcSE2piyEAZxKDmXJDMwwhepCkEdRLv9ULdh1rp8xtT5/ iM+2KvsRjMjA+oE3F7yDH+v84Bj92WcxBF6I+QkJRcYdGPIa8A1Pv6yQg467sypvZGrd 5mOA== X-Received: by 10.204.233.14 with SMTP id jw14mr298969bkb.48.1385125432282; Fri, 22 Nov 2013 05:03:52 -0800 (PST) MIME-Version: 1.0 Received: by 10.205.99.10 with HTTP; Fri, 22 Nov 2013 05:03:32 -0800 (PST) In-Reply-To: References: <528F4BE2.7000400@gmx.net> From: Kaushal Shriyan Date: Fri, 22 Nov 2013 18:33:32 +0530 Message-ID: Subject: Re: PG replication across DataCenters To: Albe Laurenz Cc: =?ISO-8859-1?Q?Torsten_F=F6rtsch_=2AEXTERN=2A?= , "pgsql-general@postgresql.org" Content-Type: multipart/alternative; boundary=485b3979da845c7db304ebc3a5d4 X-Pg-Spam-Score: -2.0 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-general Precedence: bulk Sender: pgsql-general-owner@postgresql.org --485b3979da845c7db304ebc3a5d4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Fri, Nov 22, 2013 at 6:14 PM, Albe Laurenz wrot= e: > Torsten F=F6rtsch wrote: > >> Don't use synchronous replication if you have a high transaction > >> rate and a noticable network latency between the sites. > >> > >> Wait for the next bugfix release, since a nasty bug has just > >> been discovered. > > > > Can you please explain or provide a pointer for more information? > > If you mean the bug I mentioned, see this thread: > > http://www.postgresql.org/message-id/20131119142001.GA10498@alap2.anaraze= l.de > > Yours, > Laurenz Albe > Hi, I am not sure i understand the difference between async and sync replication and on what scenarios i should use async or sync replication. Does it mean if it is within same DC then sync replication is the best and if it is across DC replication async is better than sync. Please help me understand. Regards, Kaushal --485b3979da845c7db304ebc3a5d4 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable



On Fri, Nov 22, 2013 at 6:14 PM, Albe Laurenz <= ;laurenz.albe@= wien.gv.at> wrote:
Torsten F=F6rtsch wrote:
>> Don't use synchronous replication if you have a high transacti= on
>> rate and a noticable network latency between the sites.
>>
>> Wait for the next bugfix release, since a nasty bug has just
>> been discovered.
>
> Can you please explain or provide a pointer for more information?

If you mean the bug I mentioned, see this thread:
http://www.postgresql.org/message-id/20131= 119142001.GA10498@alap2.anarazel.de

Yours,
Laurenz Albe

Hi,

I am not sure i under= stand the difference between async and sync replication and on what scenari= os i should use async or sync replication. Does it mean if it is within sam= e DC then sync replication is the best and if it is across DC replication a= sync is better than sync. Please help me understand.

Regards,

Kaushal<= /div>
--485b3979da845c7db304ebc3a5d4--