Received: from maia.hub.org (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 6867663277A for ; Wed, 24 Mar 2010 06:00:34 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 51974-03 for ; Wed, 24 Mar 2010 09:00:17 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from serenity.inversion.ee (serenity.inversion.ee [194.204.33.112]) by mail.postgresql.org (Postfix) with ESMTP id 3902B632703 for ; Wed, 24 Mar 2010 06:00:17 -0300 (ADT) Received: by serenity.inversion.ee (Postfix, from userid 108) id B425BE34634; Wed, 24 Mar 2010 09:46:43 +0200 (EET) Received: from [IPv6:::1] (localhost [127.0.0.1]) by serenity.inversion.ee (Postfix) with ESMTP id 1D91DE341BB; Wed, 24 Mar 2010 09:46:42 +0200 (EET) Subject: Re: mysql to postgresql, performance questions From: Hannu Krosing To: Yeb Havinga Cc: Greg Smith , Tom Lane , "Ross J. Reedstrom" , pgsql-performance@postgresql.org In-Reply-To: <4BA9D39B.6020103@gmail.com> References: <4BA23936.2030507@gmail.com> <4BA596D2.4050406@squeakycode.net> <20100323185232.GD6662@rice.edu> <5342.1269372121@sss.pgh.pa.us> <4BA934B9.9070401@2ndquadrant.com> <4BA9D39B.6020103@gmail.com> Content-Type: text/plain; charset="UTF-8" Date: Wed, 24 Mar 2010 10:59:58 +0200 Message-ID: <1269421198.11473.50.camel@hvost> Mime-Version: 1.0 X-Mailer: Evolution 2.28.1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.5 tagged_above=-10 required=5 tests=AWL=0.099, BAYES_00=-2.599 X-Spam-Level: X-Archive-Number: 201003/323 X-Sequence-Number: 38148 On Wed, 2010-03-24 at 09:55 +0100, Yeb Havinga wrote: > Greg Smith wrote: > > Tom Lane wrote: > >> So has anyone looked at porting MythTV to PG? > >> > > > > Periodically someone hacks together something that works, last big > > effort I'm aware of was in 2006, and then it bit rots away. I'm sure > > we'd get some user uptake on the result--MySQL corruption is one of > > the top ten cause of a MythTV system crashing. > It would be the same with PG, unless the pg cluster configuration with > mythtv would come with a properly configured WAL - I had corrupted > tables (and a personal wiki entry (the other mysql database in my > house) *only* when I sometimes took the risk of not shutting down the > machine properly when e.g. the remote was missing). Pulling the plug should not corrupt a postgreSQL database, unless it was using disks which lie about write caching. Now need for WAL replica for that > regards, > Yeb Havinga > -- Hannu Krosing http://www.2ndQuadrant.com PostgreSQL Scalability and Availability Services, Consulting and Training