Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 5F16F9FA19B for ; Tue, 14 Nov 2006 18:04:38 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 41296-09 for ; Tue, 14 Nov 2006 18:04:23 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from momjian.us (momjian.us [70.90.9.53]) by postgresql.org (Postfix) with ESMTP id 309D19FB25A for ; Tue, 14 Nov 2006 18:04:23 -0400 (AST) Received: (from bruce@localhost) by momjian.us (8.11.6/8.11.6) id kAEM4Ba27328; Tue, 14 Nov 2006 17:04:11 -0500 (EST) From: Bruce Momjian Message-Id: <200611142204.kAEM4Ba27328@momjian.us> Subject: Re: [HACKERS] Replication documentation addition In-Reply-To: To: Jeff Frost Date: Tue, 14 Nov 2006 17:04:11 -0500 (EST) CC: Chris Browne , pgsql-docs@postgresql.org X-Mailer: ELM [version 2.4ME+ PL123] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="US-ASCII" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200611/13 X-Sequence-Number: 3847 Jeff Frost wrote: > On Tue, 14 Nov 2006, Bruce Momjian wrote: > > > Your description was too detailed, but I took some of your concepts: > > > > > > In clustering, each server can accept write requests, and these > > write requests are broadcast from the original server to all > > other servers before each transaction commits. Heavy write > > activity can cause excessive locking, leading to poor performance. > > In fact, write performance is often worse than that of a single > > server. Read requests can be sent to any server. Clustering > > is best for mostly read workloads, though its big advantage is > > that any server can accept write requests --- there is no need > > to partition workloads between read/write and read-only servers. > > > > > > > > Clustering is implemented by Oracle in their > > RAC product. PostgreSQL > > does not offer this type of load balancing, though > > PostgreSQL two-phase commit ( > linkend="sql-prepare-transaction-title"> and > "sql-commit-prepared-title">) can be used to implement this in > > application code or middleware. > > > > Bruce, > > Continuent's uni/cluster middleware product implements this type of > clustering/load balancing. Perhaps it warrants a mention? Not sure how far > we want to get into listing external products. We had a long discussion about that and felt that recommending commercial products or even every open source project was too much. The idea was that we should reference a web page that has them all mentioned, but no one has set one up yet. -- Bruce Momjian bruce@momjian.us EnterpriseDB http://www.enterprisedb.com + If your life is a hard drive, Christ can be your backup. +