X-Original-To: pgsql-general-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 2828C9FA612 for ; Fri, 30 Jun 2006 21:15:08 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 19873-10 for ; Fri, 30 Jun 2006 21:15:03 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from noel.decibel.org (noel.decibel.org [67.100.216.10]) by postgresql.org (Postfix) with ESMTP id 21FAA9FA506 for ; Fri, 30 Jun 2006 21:15:03 -0300 (ADT) Received: by noel.decibel.org (Postfix, from userid 1001) id 21C6A56445; Fri, 30 Jun 2006 19:15:02 -0500 (CDT) Received: (hashcash-sendmail, from uid 1001); Fri, 30 Jun 2006 19:15:00 -0500 Date: Fri, 30 Jun 2006 19:15:00 -0500 From: "Jim C. Nasby" To: Tom Lane Cc: Scott Marlowe , Jason McManus , pgsql general Subject: Re: Notes on converting from MySQL 5.0.x to PostgreSQL Message-ID: <20060701001500.GS17241@pervasive.com> References: <1151680333.13129.55.camel@state.g2switchworks.com> <24350.1151681944@sss.pgh.pa.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <24350.1151681944@sss.pgh.pa.us> X-Operating-System: FreeBSD 6.0-RELEASE-p4 amd64 X-Distributed: Join the Effort! http://www.distributed.net User-Agent: Mutt/1.5.11 X-Hashcash: 1:20:060701:tgl@sss.pgh.pa.us::3iUGGiadpuWLe+t7:00000000000000000000 0000000000000000000000008RHe X-Hashcash: 1:20:060701:smarlowe@g2switchworks.com::Et3S1gbapfgpupq0:00000000000 0000000000000000000000006laU X-Hashcash: 1:20:060701:mcmanus.jason@gmail.com::gieJxPMw33FZz+r6:00000000000000 0000000000000000000000000yX2 X-Hashcash: 1:20:060701:pgsql-general@postgresql.org::hUxF9YwvU52FzR9M:000000000 0000000000000000000000004AXB X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200606/1249 X-Sequence-Number: 97621 On Fri, Jun 30, 2006 at 11:39:04AM -0400, Tom Lane wrote: > Scott Marlowe writes: > > On Fri, 2006-06-30 at 08:17, Jason McManus wrote: > >> * Replication support still rudimentary. > > > Hmmmm. I think that's an overly simplistic evaluation. The slony > > replication engine is actually VERY advanced, but the administrative > > tools consist mostly of "your brain". hehe. That said, once you've > > learned how to drive it, it's quite amazing. Keep in mind, slony can be > > applied to a living database while it's running, and can run between > > different major versions of postgresql. That's a pretty advanced > > feature. Plus, if the replication daemons die (kill -9ed or whatever) > > you can restart replication and slony will come right back where it was > > and catch up. > > It might be worth pointing out that mysql's replication falls over > if you so much as look at it crosseyed. I have not had to use it > for production purposes, but I can tell you that the mysql replication > regression tests fail ... irreproducibly of course ... almost one time > in two in Red Hat's build environment. I've been able to trace a few of > these failures to quirks of the build environment, like trying to build > x86 and x86_64 at the same time in different chroots of the same machine > (must take care not to use same TCP port numbers for tests), but it > still seems flaky as hell. I attended a talk about MySQL and High Availability once and was pretty unimpressed. Lots of 'now you take the database down and copy files around' and the like. Nothing remotely close to the abilities of Slony. -- Jim C. Nasby, Sr. Engineering Consultant jnasby@pervasive.com Pervasive Software http://pervasive.com work: 512-231-6117 vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461