On Mon, Dec 9, 2013 at 3:13 PM, Dmitry Koterov <dmitry(at)koterov(dot)ru> wrote:
> Is there a way to compress the traffic between master and slave during the
> replication?.. The streaming gzip would be quite efficient for that.
Take a look at the ssh_tunnel.sh [1] tool. This is a wrapper around
SSH tunnel with compression, a watchdog and lock management. Very
useful for cross data center streaming.
[1] https://github.com/grayhemp/pgcookbook/blob/master/ssh_tunnel_with_compression_setup.md
--
Kind regards,
Sergey Konoplev
PostgreSQL Consultant and DBA
http://www.linkedin.com/in/grayhemp
+1 (415) 867-9984, +7 (901) 903-0499, +7 (988) 888-1979
gray(dot)ru(at)gmail(dot)com