Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 6CA23650164 for ; Thu, 21 Aug 2008 17:53:14 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 11019-03-4 for ; Thu, 21 Aug 2008 17:53:07 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from globalinn.com (mail.globalinn.se [80.75.24.2]) by postgresql.org (Postfix) with ESMTP id 46E2B65015E for ; Thu, 21 Aug 2008 17:53:10 -0300 (ADT) X-Antivirus-Scanned: McAfee Received: from [217.210.59.25] (account mathias HELO [10.0.1.200]) by globalinn.com (CommuniGate Pro SMTP 5.0.11) with ESMTPSA id 33144181 for pgsql-performance@postgresql.org; Thu, 21 Aug 2008 22:53:06 +0200 Message-Id: From: =?ISO-8859-1?Q?Mathias_Stjernstr=F6m?= To: pgsql-performance@postgresql.org In-Reply-To: <48ADABAF.8030602@drivefaster.net> Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Apple-Mail-11-526617191" Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v928.1) Subject: Re: The state of PG replication in 2008/Q2? Date: Thu, 21 Aug 2008 22:53:05 +0200 References: <48ADABAF.8030602@drivefaster.net> X-Pgp-Agent: GPGMail d53 (v53, Leopard) X-Mailer: Apple Mail (2.928.1) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.899 tagged_above=0 required=5 tests=FS_REPLICA=1.179, RCVD_IN_DNSWL_LOW=-1, SARE_SPEC_REPLICA=0.72 X-Spam-Level: X-Archive-Number: 200808/260 X-Sequence-Number: 31141 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --Apple-Mail-11-526617191 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Hi Dan! Its true, many of the replication options that exists for PostgreSQL have not seen any updates in a while. If you only looking for redundancy and not a performance gain you should look at PostgreSQL PITR (http://www.postgresql.org/docs/8.1/static/backup-online.html ) For Master-Slave replication i think that Slony http://www.slony.info/ is most up to date. But it does not support DDL changes. You may wich to look at pgpool http://pgpool.projects.postgresql.org/ it supports Synchronous replication (wich is good for data integrity, but can be bad for performance). These are some of the open source options. I do not have any experience with the commercial onces. Best regards, Mathias http://www.pastbedti.me/ On 21 aug 2008, at 19.53, Dan Harris wrote: > My company finally has the means to install a new database server > for replication. I have Googled and found a lot of sparse > information out there regarding replication systems for PostgreSQL > and a lot of it looks very out-of-date. Can I please get some ideas > from those of you that are currently using fail-over replication > systems? What advantage does your solution have? What are the > "gotchas" I need to worry about? > > My desire would be to have a parallel server that could act as a hot > standby system with automatic fail over in a multi-master role. If > our primary server goes down for whatever reason, the secondary > would take over and handle the load seamlessly. I think this is > really the "holy grail" scenario and I understand how difficult it > is to achieve. Especially since we make frequent use of sequences > in our databases. If MM is too difficult, I'm willing to accept a > hot-standby read-only system that will handle queries until we can > fix whatever ails the master. > We are primary an OLAP environment but there is a constant stream of > inserts into the databases. There are 47 different databases hosted > on the primary server and this number will continue to scale up to > whatever the server seems to support. The reason I mention this > number is that it seems that those systems that make heavy use of > schema changes require a lot of "fiddling". For a single database, > this doesn't seem too problematic, but any manual work involved and > administrative overhead will scale at the same rate as the database > count grows and I certainly want to minimize as much fiddling as > possible. > > We are using 8.3 and the total combined size for the PG data > directory is 226G. Hopefully I didn't neglect to include more > relevant information. > > As always, thank you for your insight. > > -Dan > > > > -- > Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org > ) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-performance --Apple-Mail-11-526617191 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (Darwin) iQEcBAEBAgAGBQJIrdWxAAoJEMkN6DtuoU6XcjYH/0fL/e0KO2uTpNsOO0/19unI 2aqyJ32gmg6C27kZeDlB2vqQgCy873Vx5oghM56q2QEQS8nNj05YLiDUeVkW7jW5 bZVfB3G+jXo6cn1gnv1Sh4WvDjka6fshBOKvCPvilsiTqYfbWBhRQJ6mu2TMdshE cyOUAMf5am1Ch4cSeDIWb9rwHjHCX8+LWQsT14R4gjc2SEW32YmQSuWLpHoY6ToG G20eQlCMXm6AwK5SntnNsqH2eNNp+X+eCPozIUGOniVFRODP/Jl3nuM5zmRNby7W /QTSKv2AdthZkgVxAkx/O+8a8N0ZL0VE1nK1swNb1l/uFOwQIgoHCQ0XK72gtAM= =N4L1 -----END PGP SIGNATURE----- --Apple-Mail-11-526617191--