Received: from localhost (uranus.hub.org [200.46.204.60]) by postgresql.org (Postfix) with ESMTP id 7C6579FA265 for ; Wed, 22 Nov 2006 09:17:46 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.60]) (amavisd-new, port 10024) with ESMTP id 71743-01-2 for ; Wed, 22 Nov 2006 09:17:45 -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 28C479FA25D for ; Wed, 22 Nov 2006 09:17:40 -0400 (AST) Received: (from bruce@localhost) by momjian.us (8.11.6/8.11.6) id kAM3iYh14068; Tue, 21 Nov 2006 22:44:34 -0500 (EST) From: Bruce Momjian Message-Id: <200611220344.kAM3iYh14068@momjian.us> Subject: Re: [Pgcluster-general] PostgreSQL Documentation of In-Reply-To: <4562B799.7090209@bluegap.ch> To: Markus Schiltknecht Date: Tue, 21 Nov 2006 22:44:34 -0500 (EST) CC: a.mitani@sra-europe.com, 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/69 X-Sequence-Number: 3903 Markus Schiltknecht wrote: > Hello Bruce, > > Bruce Momjian wrote: > > OK, but how does explaining the terms help our users? > > As we even have on sort-of-a solution for shared disk clusters (the > Shared Disk Failover part), we should explain this term (as you already > do there). > > Clarifying that all other solutions are for shared nothing clusters > makes sense, IMO. We don't necessarily need to go into shared memory and > the confusion which shared everything introduced. OTOH, where else to > enlighten people about that if not in such a documentation? > > To answer your question: by explaining these terms, they are > demystified. The users will understand the experts better and have some > fundamental terms which they can base their discussion on. Of course > it's questionable how far to go, and we are debating just that now, I think. > > But I have no doubt in the OSS tradition of good documentation. Long > live the saying 'RTFM'! :-) I figured that shared-disk/memory only really makes sense for multi-master clustering, so I mentioned it in that paragraph: Multi-Master Clustering In clustering, each server can accept write requests, and modified data is transmitted from the original server to every other server 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. Some -> implementations use cluster-wide shared memory or shared disk -> to reduce the communication overhead. 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 master and slave servers, and because the data changes are sent from one server to another, there is no problem with non-deterministic functions like random(). Is that enought? -- Bruce Momjian bruce@momjian.us EnterpriseDB http://www.enterprisedb.com + If your life is a hard drive, Christ can be your backup. +