Received: from localhost (unknown [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 31F049FBE89 for ; Fri, 19 Oct 2007 16:05:18 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 12582-03-6 for ; Fri, 19 Oct 2007 16:05:14 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.191]) by postgresql.org (Postfix) with ESMTP id 2EB679FA1D2 for ; Fri, 19 Oct 2007 16:05:13 -0300 (ADT) Received: by nf-out-0910.google.com with SMTP id f5so473032nfh for ; Fri, 19 Oct 2007 12:05:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=AvqxSFEuirZX77TC7A24nW6yUZNLPKPq5lnvmRCXz3s=; b=mTRuQpDqMqt5OAs3bYsLcyDqMHtfkXjy9aKcPtf3ulGdpY8gz+Jpe676s9c+LhMVy16GzeGN5u7bGGDNtLZ4lU+u3iRssN1NeJ3NhfBu+6F33ZkFO4+APO+2yvKLEiupHB31MJJAbdPwXRKHJPOJfZEe4dlZq9tuFHY4B7t6cI8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=iB5NyJsruAjXhF3q8gCwxvXkXBtjSmwjO7VNxqm92gXGXjzCyZi1cCr9lUP7mptfk20nGtxE1PpjODu/r26sTmu+XaPAzTidaaMsv3Db3FH/y5xxQWgQRtcanb+4Tc6IudBi8JCbUs1AMQ30pxzpsgg7rzZbXcqGPJmd7vXHiRQ= Received: by 10.78.129.16 with SMTP id b16mr1579807hud.1192820712142; Fri, 19 Oct 2007 12:05:12 -0700 (PDT) Received: by 10.67.29.6 with HTTP; Fri, 19 Oct 2007 12:05:12 -0700 (PDT) Message-ID: Date: Fri, 19 Oct 2007 14:05:12 -0500 From: "Scott Marlowe" To: "Sean Brown" Subject: Re: Cluster/Replication Cc: pgsql-admin@postgresql.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20071019100626.09fd9e13@scratch> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200710/197 X-Sequence-Number: 27111 Please cc the list, as someone with a lot more experience with pgcluster than I might be reading it. :) On 10/19/07, Sean Brown wrote: > > On Oct 19, 2007, at 2:30 PM, Scott Marlowe wrote: > > > On 10/19/07, Joshua D. Drake wrote: > >> On Fri, 19 Oct 2007 12:43:40 -0400 > >> Sean Brown wrote: > >> > >>> I believe this has come up before, and I am still researching how to > >>> do this and figured asking was probably a good idea as hopefully I > >>> can either get some direction or someone can point me at something I > >>> haven't seen yet. > >> > >> Why do you have a synchronous requirement? > > > > He said something about losing any data due to the loss of the master > > being unacceptable, so synchronous was the only way to go. > > > > But if the machines are separated by any real distance, the speed / > > latency of the link will be the deciding factor in the write > > performance of the whole system. > > > > I think they might be better off having a local synchronous clustering > > solution (i.e. two machines running in failover on shared storage or > > something) and then async rep cross country if there's any distance to > > the other server. What to do about slony not handling LOBs I don't > > know. > > That can be done, the two nodes that we are first implementing will > be in the same datacenter with a 1Gb link between them. The third > possible node would be accessible over a 768Kb VPN but isn't being > installed in the near future. Yeah, that sounds like a good setup for local synch, remote asynch > Slony is probably what we would have done if it wasn't for the BLOB > requirement. Well, if you're married to the BLOB, you're gonna have to find another way to replicating. Are your blobs mostly static data? If so, you might be able to back them up every so often and ship them across the link to the remote machine. > Is pgCluster as irritating to set up as it seems to be? Does the > Replication server do a lot, does it need a lot in the way of resources? Don't know, I haven't set it up before, only read about it.