X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id A5EE2D1D2AA for ; Wed, 21 Apr 2004 09:55:25 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 45681-07 for ; Wed, 21 Apr 2004 09:55:26 -0300 (ADT) Received: from anchor-post-35.mail.demon.net (anchor-post-35.mail.demon.net [194.217.242.85]) by svr1.postgresql.org (Postfix) with ESMTP id 2AB4DD1D26C for ; Wed, 21 Apr 2004 09:55:22 -0300 (ADT) Received: from tmsl-adsl.demon.co.uk ([80.177.114.181] helo=bacon.tmsl.demon.co.uk) by anchor-post-35.mail.demon.net with esmtp (Exim 3.35 #1) id 1BGHG7-0002yb-0Z; Wed, 21 Apr 2004 13:55:23 +0100 Date: Wed, 21 Apr 2004 13:55:21 +0100 From: Paul Thomas To: Nick Barr Cc: "pgsql-performance @ postgresql . org" Subject: Re: MySQL vs PG TPC-H benchmarks Message-ID: <20040421135521.A23015@bacon> References: <4086316B.4050304@chuckie.co.uk> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=ISO-8859-1 In-Reply-To: <4086316B.4050304@chuckie.co.uk>; from nicky@chuckie.co.uk on Wed, Apr 21, 2004 at 09:31:39 +0100 X-Mailer: Balsa 1.2.3 Lines: 34 X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200404/346 X-Sequence-Number: 6646 On 21/04/2004 09:31 Nick Barr wrote: > Hi, > > Has anyone had a look at: > > http://people.ac.upc.es/zgomez/ > > I realize that MySQL & PG cannot really be compared (especially when you > consider the issues that MySQL has with things like data integrity) but > still surely PG would perform better than the stats show (i.e. #7 31.28 > seconds versus 42 minutes!!!). Looks like he's using the default postgresql.conf settings in which case I'm not suprised at pg looking so slow. His stated use of foreign keys invalidates the tests anyway as MyISAM tables don't support FKs so we're probably seeing FK check overheads in pg that are simply ignore by MySQL. In an honest test, MySQL should be reported as failing those tests. Perhaps one of the advocay team will pick up the batton? > > On a side note it certainly looks like linux kernel 2.6 is quite a bit > faster in comparision to 2.4. Yes, I've seen other benchmarks which also show that. -- Paul Thomas +------------------------------+---------------------------------------------+ | Thomas Micro Systems Limited | Software Solutions for Business | | Computer Consultants | http://www.thomas-micro-systems-ltd.co.uk | +------------------------------+---------------------------------------------+