Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VjpmD-0003jH-RP for pgsql-general@arkaria.postgresql.org; Fri, 22 Nov 2013 12:24:02 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VjpmD-0005IM-17 for pgsql-general@arkaria.postgresql.org; Fri, 22 Nov 2013 12:24:01 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VjpmB-0005Gb-7o for pgsql-general@postgresql.org; Fri, 22 Nov 2013 12:23:59 +0000 Received: from mout.gmx.net ([212.227.15.15]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Vjpm5-0003Ra-1O for pgsql-general@postgresql.org; Fri, 22 Nov 2013 12:23:58 +0000 Received: from calvados.home ([91.89.70.247]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0MIMQR-1VfhRQ3TVn-0048Fo for ; Fri, 22 Nov 2013 13:23:51 +0100 Message-ID: <528F4BE2.7000400@gmx.net> Date: Fri, 22 Nov 2013 13:19:46 +0100 From: =?UTF-8?B?VG9yc3RlbiBGw7ZydHNjaA==?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: Albe Laurenz , Kaushal Shriyan *EXTERN* , "pgsql-general@postgresql.org" Subject: Re: PG replication across DataCenters References: In-Reply-To: X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:AZbHqDvN8wM42jPfJvhXDns9H+LpOv9+VdqwUS5ys2MBYFSISi/ Fp0uawxs2j4g/ZIiMbPKJiAqrPHg+GT7lb6cMwYi77673oG/Ogd8FBimWE+eyRKkGzhexGZ FQ2i9UmYR3zrUM80xMiCJ2VP11JycEgzBXOwu6nxqzATvPXJhsDujTB1lzQ6WCBn4250s3s iXSoAQ3tmu982NAOnaB5g== X-Pg-Spam-Score: -2.4 (--) 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 On 22/11/13 11:57, Albe Laurenz 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? We have recently started to use sync replication over a line with >80ms latency. It works for small transactions with a relatively low transaction rate. Avoid transactions using NOTIFY. Those acquire an exclusive lock during commit that is released only when the remote host has also done its commit. So, only one such transaction can be committing at time. Async replication works just fine. Torsten -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general