Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 7C2949FB7CE for ; Sun, 20 May 2007 15:08:07 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 67481-10 for ; Sun, 20 May 2007 15:08:04 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from h07.llord.com (unknown [195.140.142.194]) by postgresql.org (Postfix) with ESMTP id 3A3009FB73C for ; Sun, 20 May 2007 15:08:04 -0300 (ADT) Received: from par69-8-88-161-102-87.fbx.proxad.net ([88.161.102.87] helo=apollo13) by h07.llord.com with esmtpa (Exim 4.63) (envelope-from ) id 1Hppov-0006CI-Qf; Sun, 20 May 2007 20:07:53 +0200 Date: Sun, 20 May 2007 20:10:17 +0200 To: "Tom Lane" Subject: Re: Postgres Benchmark Results From: PFC Cc: "Arjen van der Meijden" , pgsql-performance@postgresql.org Content-Type: text/plain; format=flowed; delsp=yes; charset=utf-8 MIME-Version: 1.0 References: <46507A40.505@tweakers.net> <2438.1179681998@sss.pgh.pa.us> Content-Transfer-Encoding: 7bit Message-ID: In-Reply-To: <2438.1179681998@sss.pgh.pa.us> User-Agent: Opera Mail/9.10 (Linux) X-PopBeforeSMTPSenders: junk@peufeu.com, lists@peufeu.com, peufeu@peufeu.com, pfcaillaud@peufeu.com X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - h07.llord.com X-AntiAbuse: Original Domain - postgresql.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - peufeu.com X-Source: X-Source-Args: X-Source-Dir: X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=1.04 tagged_above=0 required=5 tests=AWL=0.864, BAYES_00=-2.599, RCVD_IN_NJABL_SPAM=2.775 X-Spam-Level: * X-Archive-Number: 200705/382 X-Sequence-Number: 24772 On Sun, 20 May 2007 19:26:38 +0200, Tom Lane wrote: > PFC writes: >> The little curve that dives into the ground is MySQL with InnoDB. >> The Energizer bunny that keeps going is Postgres. > > Just for comparison's sake it would be interesting to see a curve for > mysql/myisam. Mysql's claim to speed is mostly based on measurements > taken with myisam tables, but I think that doesn't hold up very well > under concurrent load. > > regards, tom lane I'm doing that now. Here is what I wrote in the report : Using prepared statements (important), Postgres beats MyISAM on "simple selects" as they say, as well as complex selects, even with 1 thread. MyISAM caused massive data corruption : posts and topics disappear, storage engine errors pop off, random thrashed rows appear in the forums table, therefore screwing up everything, etc. In short : it doesn't work. But, since noone in their right mind would use MyISAM for critical data, I include this result anyway, as a curiosity. I had to write a repair SQL script to fix the corruption in order to see how MySQL will fare when it gets bigger than RAM...