X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 491B5DB0B6 for ; Thu, 27 Oct 2005 07:21:22 -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 70558-04 for ; Thu, 27 Oct 2005 10:21:18 +0000 (GMT) Received: from smtp103.rog.mail.re2.yahoo.com (smtp103.rog.mail.re2.yahoo.com [206.190.36.81]) by svr1.postgresql.org (Postfix) with SMTP id 073C1D9A24 for ; Thu, 27 Oct 2005 07:21:19 -0300 (ADT) Received: (qmail 2604 invoked from network); 27 Oct 2005 10:21:21 -0000 Received: from unknown (HELO phlogiston.dydns.org) (a.sullivan@rogers.com@209.222.54.227 with login) by smtp103.rog.mail.re2.yahoo.com with SMTP; 27 Oct 2005 10:21:21 -0000 Received: by phlogiston.dydns.org (Postfix, from userid 1000) id 952B240E6; Thu, 27 Oct 2005 06:21:20 -0400 (EDT) Date: Thu, 27 Oct 2005 06:21:20 -0400 From: Andrew Sullivan To: pgsql-sql@postgresql.org Subject: Re: why vacuum Message-ID: <20051027102120.GA26612@phlogiston.dyndns.org> References: <200510261015.17623.lawgon@thenilgiris.com> <1130339980.2872.12.camel@state.g2switchworks.com> <1130401361.31435.15.camel@ekim> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1130401361.31435.15.camel@ekim> User-Agent: Mutt/1.5.9i X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.008 required=5 tests=[AWL=0.008] X-Spam-Level: X-Archive-Number: 200510/362 X-Sequence-Number: 23215 On Thu, Oct 27, 2005 at 10:22:41AM +0200, Mario Splivalo wrote: > offers no replication at all, you need to use slony (wich is also a poor > replacement for a wannabe replication), or some other commercial > products. What about 2PC? What about linking the databases from Slony is in fact a community-supported system; so I don't know why you think that amounts to "no replication at all". And since this is a community-supported system, it'd be nice if you said why it's a "poor replacement for wannabe replication". What's wrong with it? > Btw, I 'ported' the merge replication from MSSQL to postgres. It > basicaly adds triggers to every table that is 'published' for > replication. There is a separate table to store and calculate the change > differences from several servers (so you could do update on any of the > servers and change will be propagated to the others). I'm missing 2PC > badly here, I wrote some stupid python 'thingie' wich should act as 2PC > serializer, but that's slow as hell. And triggers slow down postgres > quite a bit. This is interesting. Care to package it up for others, or write a proof-of-concept outline for the lists or General Bits or something like that? This is a different sort of replication people are asking for. Note that you get 2PC in the next Postgres release. A -- Andrew Sullivan | ajs@crankycanuck.ca When my information changes, I alter my conclusions. What do you do sir? --attr. John Maynard Keynes