X-Original-To: pgsql-general-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 85684D72B3 for ; Wed, 24 Aug 2005 18:21:43 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 73036-08 for ; Wed, 24 Aug 2005 21:21:38 +0000 (GMT) Received: from servata.com (unknown [216.152.249.226]) by svr1.postgresql.org (Postfix) with ESMTP id 8A71AD6FF5 for ; Wed, 24 Aug 2005 18:21:37 -0300 (ADT) Received: from [66.74.199.70] (helo=[192.168.1.100]) by servata.com with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1E82gi-0007wm-FX; Wed, 24 Aug 2005 14:21:36 -0700 Message-ID: <430CE4E2.10901@empires.org> Date: Wed, 24 Aug 2005 14:21:38 -0700 From: Jeff Davis User-Agent: Debian Thunderbird 1.0.2 (X11/20050602) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Welty, Richard" Cc: pgsql-general@postgresql.org, carlosreimer@yahoo.com.br Subject: Re: Postgresql replication References: <7A8D99D6C4AE9347886B31F047F26BD6045C5F@ex2k.bankofamerica.com> In-Reply-To: <7A8D99D6C4AE9347886B31F047F26BD6045C5F@ex2k.bankofamerica.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.061 required=5 tests=[AWL=0.011, FORGED_RCVD_HELO=0.05] X-Spam-Level: X-Archive-Number: 200508/1242 X-Sequence-Number: 82650 Welty, Richard wrote: > Jeff Davis writes: > > >>The disadvantages: > > > one more: if you actually have m tables and n servers, you have > m x n tables in reality, which is pretty miserable scaling behavior. > i should think that rules, triggers, and embedded procedures would > explode in complexity rather rapidly. > > i know i wouldn't want to administer one of these if there were a lot > of sites. > True, but in practice n will usually be fairly reasonable. In particular, his setup sounded like it would be only a few. Also, you're really talking about scalability of administration. I don't think performance will be significantly impacted. > >>I hope this is helpful. Let me know if there's some reason my plan won't >>work. > > > look at the solution in pgreplicator. site ids are embedded in the > id columns in the tables, so there only m tables, and a bit less insanity. > That doesn't work with Slony-I unfortunately. I don't know much about pgreplicator, but if it does something similar to what I'm talking about, maybe it's a good thing to look into. Regards, Jeff Davis