public inbox for [email protected]  
help / color / mirror / Atom feed
From: Edson Richter <[email protected]>
To: [email protected]
Subject: Re: PG replication across DataCenters
Date: Fri, 22 Nov 2013 09:04:16 -0200
Message-ID: <[email protected]> (raw)
In-Reply-To: <CAD7Ssm9S__ZQCOq2GEN0G0rrs_4U6aqXiLaX0hh0Ts8JH_LY2w@mail.gmail.com>
References: <CAD7Ssm9S__ZQCOq2GEN0G0rrs_4U6aqXiLaX0hh0Ts8JH_LY2w@mail.gmail.com>
List-Unsubscribe: <mailto:[email protected]?body=unsub%20pgsql-general>

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 ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



view thread (36+ messages)  latest in thread

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 using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: PG replication across DataCenters
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox