X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 2E670D1B56B for ; Tue, 2 Sep 2003 11:34:25 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 52919-03 for ; Tue, 2 Sep 2003 08:34:17 -0300 (ADT) Received: from mail.libertyrms.com (unknown [209.167.124.227]) by svr1.postgresql.org (Postfix) with ESMTP id 3296AD1B53A for ; Tue, 2 Sep 2003 08:34:14 -0300 (ADT) Received: from [10.1.2.130] (helo=dba2) by mail.libertyrms.com with esmtp (Exim 3.22 #3 (Debian)) id 19u9QP-0005vW-00 for ; Tue, 02 Sep 2003 07:34:17 -0400 Received: by dba2 (Postfix, from userid 1019) id 7E6E6CF15; Tue, 2 Sep 2003 07:34:17 -0400 (EDT) Date: Tue, 2 Sep 2003 07:34:17 -0400 From: Andrew Sullivan To: pgsql-admin@postgresql.org Subject: Re: Replication Message-ID: <20030902113417.GJ27043@libertyrms.info> Mail-Followup-To: Andrew Sullivan , pgsql-admin@postgresql.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.4i X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200309/18 X-Sequence-Number: 10106 On Sun, Aug 31, 2003 at 08:33:33PM -0700, Ian Huynh wrote: > There are certain cases where multi-master rep are very > implementable such as where the datasets being rep are fairly > disjointed but need to be replicated for completeness in terms of > reporting. But you are absolutely 110% correct. Multimaster synchro > is a nightmare. If you had two completely separate databases, you could merge them using erserver. If you had some nifty tricks with unique indexes, &c., you could also use erserver to merge them. Or at least, I think you could. Imagine making all your unique indexes on two columns: say, the row id (just a type serial) plus a server id (which was static for everything in that database), There are plenty of practical problems with such a scheme, and it seems to me a little fragile, but it'd work. A -- ---- Andrew Sullivan 204-4141 Yonge Street Liberty RMS Toronto, Ontario Canada M2P 2A8 +1 416 646 3304 x110