Re: read-only remote replica - Mailing list pgsql-admin

From Alvaro Aguayo Garcia-Rada
Subject Re: read-only remote replica
Date
Msg-id o1hvb14f95b81ek7aacbuc07.1463707480594@email.android.com
Whole thread Raw
In response to read-only remote replica  (Jon Hancock <jhancock@shellshadow.com>)
List pgsql-admin

Hi, Jon.

What postgres version are you using on your master database server? If you use(or can upgrade to) 9.4/9.5, you can consider using pglogical, which works by sending WAL from the master to the read-only slave. It's really efficient, as, unlikely the trigger based replicators, it does not double writes the replicated information. Here's he website: http://2ndquadrant.com/en/resources/pglogical/

Regards,

Alvaro Aguayo
Jefe de Operaciones
Open Comb Systems E.I.R.L.

Oficina: (+51-1) 3377813 | RPM: #034252 / (+51) 995540103  | RPC: (+51) 954183248
Website: www.ocs.pe

Sent from my Sony Xperia™ smartphone

---- Jon Hancock wrote ----


Hi list,
I need a read only replica of my postgres server (assume
current/recent stable release).
The master is in a reliable data center in California.  The read-only
replica would be in an office in New Zealand.  Bandwidth can be
challenging from our office.  It works but bandwidth is highly
variable.

The reason for the read-only replica is we have an old reports system
in our office that connects directly to the db via ODBC.  Simply too
much work to replace this system for now.  Its not an option to do
nightly dumps/download/imports as we need closer to real time replica.
A few minutes delay is ok.

Any thoughts would be appreciated on how to have a stable/reliable method.

thanks, Jon


--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin

pgsql-admin by date:

Previous
From: Jon Hancock
Date:
Subject: read-only remote replica
Next
From: Ian Barwick
Date:
Subject: Re: read-only remote replica