X-Original-To: pgsql-docs-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id BBE5853810 for ; Sat, 30 Apr 2005 00:52:36 -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 48281-04 for ; Sat, 30 Apr 2005 03:52:26 +0000 (GMT) Received: from candle.pha.pa.us (candle.pha.pa.us [64.139.89.126]) by svr1.postgresql.org (Postfix) with ESMTP id 5B7D453865 for ; Sat, 30 Apr 2005 00:52:25 -0300 (ADT) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id j3U3qQT28497; Fri, 29 Apr 2005 23:52:26 -0400 (EDT) From: Bruce Momjian Message-Id: <200504300352.j3U3qQT28497@candle.pha.pa.us> Subject: Re: [COMMITTERS] pgsql: Remove replicaiton FAQ item. In-Reply-To: To: Christopher Browne Date: Fri, 29 Apr 2005 23:52:26 -0400 (EDT) Cc: pgsql-docs@postgresql.org X-Mailer: ELM [version 2.4ME+ PL121 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.251 tagged_above=0 required=5 tests=AWL, INFO_TLD X-Spam-Level: X-Archive-Number: 200504/34 X-Sequence-Number: 2964 OK, updated:

Though "replication" is a single term, there are several technologies for doing replication, with advantages and disadvantages for each.

Master/slave replication allows a single master to receive read/write queries, while slaves can only accept read/SELECT queries. The most popular freely available master-slave PostgreSQL replication solution is Pgcluster is the most popular such solution freely available for PostgreSQL.

There are also commercial and hardware-based replication solutions available supporting a variety of replication models.

--------------------------------------------------------------------------- Christopher Browne wrote: > Martha Stewart called it a Good Thing when pgman@candle.pha.pa.us (Bruce Momjian) wrote: > > Yep, big mistake my removing the replication FAQ item. I have re-added a > > new one: > > > > 4.21) What replication solutions are available? > > > > Though "replication" is a single term, there are two major replication > > technologies. Multi-master replication allows read/write queries to be > > sent to multiple replicated computers. Using this capability has a > > serious performance impact. Pgcluster is the most popular such solution > > available for PostgreSQL. Master-slave replication allows a single > > master to receive read/write queries, with slaves able to accept only > > read/SELECT queries. The most popular master-slave PostgreSQL > > replication solution is Slony. There are also commercial and > > hardware-based replication solutions available. > > A suggestion for rewording: > > Though "replication" is a single term, there are a number of > approaches and technologies to handle it, and thus, for different > purposes, a number of replication systems are available. > > Master/slave replication allows a single master to receive read/write > queries, where slaves can only accept read/SELECT queries. The most > popular freely available master-slave PostgreSQL replication solution > is Slony-I. > > Multi-master replication allows read/write queries to be sent to > multiple replicated computers. Using this capability generaly has a > fairly severe impact on performance due to the need to synchronize > changes between servers. Pgcluster is the most popular such solution > freely available for PostgreSQL. > > There are also commercial and hardware-based replication solutions > available supporting a variety of replication models. > -- > (format nil "~S@~S" "cbbrowne" "acm.org") > http://linuxdatabases.info/info/slony.html > "It can be shown that for any nutty theory, beyond-the-fringe > political view or strange religion there exists a proponent on the > Net. The proof is left as an exercise for your kill-file." > -- Bertil Jonell > > ---------------------------(end of broadcast)--------------------------- > TIP 6: Have you searched our list archives? > > http://archives.postgresql.org > -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073