Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 0705D650EB0 for ; Wed, 25 Jun 2008 09:25:21 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 95219-03-2 for ; Wed, 25 Jun 2008 09:25:06 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from lists.commandprompt.com (host-159.commandprompt.net [207.173.203.159]) by postgresql.org (Postfix) with ESMTP id 04243650F2C for ; Wed, 25 Jun 2008 09:24:55 -0300 (ADT) Received: from commandprompt.com (227-54-222-209.mycybernet.net [209.222.54.227]) (authenticated bits=0) by lists.commandprompt.com (8.13.8/8.13.8) with ESMTP id m5PCQjXj026838 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 25 Jun 2008 05:26:49 -0700 Date: Wed, 25 Jun 2008 08:24:49 -0400 From: Andrew Sullivan To: pgsql-general@postgresql.org Subject: Re: replication Message-ID: <20080625122448.GB34573@commandprompt.com> Mail-Followup-To: Andrew Sullivan , pgsql-general@postgresql.org References: <4860970E.9070305@careerjunction.co.za> <48623160.4060302@sanbi.ac.za> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48623160.4060302@sanbi.ac.za> User-Agent: Mutt/1.5.17 (2007-11-01) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (lists.commandprompt.com [207.173.203.159]); Wed, 25 Jun 2008 05:26:49 -0700 (PDT) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.596 tagged_above=0 required=5 tests=AWL=-1.303, FS_REPLICA=1.179, SARE_SPEC_REPLICA=0.72 X-Spam-Level: X-Archive-Number: 200806/849 X-Sequence-Number: 134378 On Wed, Jun 25, 2008 at 01:52:00PM +0200, Allan Kamau wrote: > Initially you may want to get the full dump (this applies also to the > replication option) across to your other site. Most of the replication systems I've seen require that _they_ send the data to the remote site, so copying the data yourself is actually a waste of bandwidth, since it's all going to get copied anyway. (They have to do this because that's how they know that they're starting from a point in time for which they have consistency information.) You can indeed save on bandwith, however, by tunnelling your postgres connections through an ssh tunnel that's using compression. A -- Andrew Sullivan ajs@commandprompt.com +1 503 667 4564 x104 http://www.commandprompt.com/