Received: from localhost (unknown [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 08B952E159F for ; Sun, 18 Nov 2007 08:28:26 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 31023-09 for ; Sun, 18 Nov 2007 08:28:16 -0400 (AST) Received: from nabagan.bluegap.ch (nabagan.bluegap.ch [88.198.58.248]) by postgresql.org (Postfix) with ESMTP id A2E302E0FEB for ; Sun, 18 Nov 2007 08:28:20 -0400 (AST) Received: from [192.168.77.28] (p4FC1B19E.dip0.t-ipconnect.de [::ffff:79.193.177.158]) (AUTH: CRAM-MD5 markus@bluegap.ch) by nabagan.bluegap.ch with esmtp; Sun, 18 Nov 2007 13:50:11 +0100 id 005043C2.47403503.0000058A Message-ID: <47402FE2.5000707@bluegap.ch> Date: Sun, 18 Nov 2007 13:28:18 +0100 From: Markus Schiltknecht User-Agent: Mozilla-Thunderbird 2.0.0.6 (X11/20071008) MIME-Version: 1.0 To: Bruce Momjian CC: PostgreSQL-documentation Subject: Re: High Availability, Load Balancing, and Replication Feature Matrix References: <200711161541.lAGFf0e29718@momjian.us> In-Reply-To: <200711161541.lAGFf0e29718@momjian.us> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.079 tagged_above=0 required=5 tests=AWL=-1.497, BAYES_40=-0.185, FS_REPLICA=1.041, SARE_SPEC_REPLICA=0.72 X-Spam-Level: X-Archive-Number: 200711/72 X-Sequence-Number: 4605 Hello Bruce, Bruce Momjian wrote: > Uh, I think of PgCluster as multi-master, but in a way it is a hybrid > because there is a central server that gets all the queries. Yes, PgCluster as well as Sequoia use statement based replication. Sequoia is also clearly a middleware (no changes to Postgres needed). Both suffer from the limitations you describe in "statement based replication middleware". AFAICT Sequoia does quite well in circumventing those. (Heck, it even tries to masquerade differences between database systems, so you can keep a Postgres database in sync with a MySQL one.) Depending on the RAIDb level you are using, Sequoia can be considered multi-master (RAIDb-1) or single-master (RAIDb-0). Also note that sequoia can run multiple controllers, thus it does not rely on one central server. So, at least Sequoia is clearly a hybrid, in between your definitions of "statement based replication middleware" and "synchronous multi-master replication". Depending on how "middleware" you consider PgCluster, it's also a hybrid. Certainly it does statement based replication. Regards Markus