On Mon, Dec 9, 2013 at 3:13 PM, Dmitry Koterov <dmitry@xxxxxxxxxx> 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.ru@xxxxxxxxx -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general