Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VjoXR-0000Fb-3q for pgsql-general@arkaria.postgresql.org; Fri, 22 Nov 2013 11:04:41 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VjoXQ-0003Aq-KC for pgsql-general@arkaria.postgresql.org; Fri, 22 Nov 2013 11:04:40 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VjoXP-0003Ah-6Z for pgsql-general@postgresql.org; Fri, 22 Nov 2013 11:04:39 +0000 Received: from blu0-omc2-s2.blu0.hotmail.com ([65.55.111.77]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VjoXL-00021y-Qi for pgsql-general@postgresql.org; Fri, 22 Nov 2013 11:04:38 +0000 Received: from BLU0-SMTP119 ([65.55.111.72]) by blu0-omc2-s2.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Fri, 22 Nov 2013 03:04:34 -0800 X-TMN: [YBsiijHER+p5gj+KdUCivqpF7qaJ0hgy] X-Originating-Email: [edsonrichter@hotmail.com] Message-ID: Received: from [192.168.25.4] ([177.18.60.211]) by BLU0-SMTP119.phx.gbl over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Fri, 22 Nov 2013 03:04:29 -0800 Date: Fri, 22 Nov 2013 09:04:16 -0200 From: Edson Richter Organization: Simkorp =?ISO-8859-1?Q?Inform=E1tica_Ltda?= User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: pgsql-general@postgresql.org Subject: Re: PG replication across DataCenters References: In-Reply-To: Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 22 Nov 2013 11:04:30.0177 (UTC) FILETIME=[9DE6F510:01CEE772] 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 Em 22/11/2013 08:43, Kaushal Shriyan escreveu: > Hi, > > I have read on the web that Postgresql DB supports replication across > data centers. Any real life usecase examples if it has been > implemented by anyone. Please also help me understand the caveats i > need to take care if i implement this setup. > > Regards, > > Kaushal We have used asynchronous replication across datacenters with 100% success since 9.1. Currently we use 9.2. Our setup involves a internet tunnel between servers. Servers have about 2.000km of distance from each other. The only points you need to take attention is tuning number of wal_keep_segments and timeout, and the initial load (that can be huge, depends on your data). Regards, Edson -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general