Fwd: Re: [PERFORM] MySQL vs PG TPC-H benchmarks

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: pgsql-advocacy(at)postgresql(dot)org
Subject: Fwd: Re: [PERFORM] MySQL vs PG TPC-H benchmarks
Date: 2004-04-21 17:31:31
Message-ID: 200404211031.31007.josh@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-advocacy pgsql-performance

---------- Forwarded Message ----------

Subject: Re: [PERFORM] MySQL vs PG TPC-H benchmarks
Date: Wed, 21 Apr 2004 13:55:21 +0100
From: Paul Thomas <paul(at)tmsl(dot)demon(dot)co(dot)uk>
To: Nick Barr <nicky(at)chuckie(dot)co(dot)uk>
Cc: "pgsql-performance @ postgresql . org" <pgsql-performance(at)postgresql(dot)org>

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 |
+------------------------------+---------------------------------------------
+

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)

-------------------------------------------------------

--
Josh Berkus
Aglio Database Solutions
San Francisco

Responses

Browse pgsql-advocacy by date

  From Date Subject
Next Message Josh Berkus 2004-04-21 17:41:22 Your TPC-H test
Previous Message Robert Treat 2004-04-21 15:15:26 Re: Random thoughts

Browse pgsql-performance by date

  From Date Subject
Next Message Josh Berkus 2004-04-21 17:47:03 Re: [PERFORM] MySQL vs PG TPC-H benchmarks
Previous Message Josh Berkus 2004-04-21 17:29:43 Re: Wierd context-switching issue on Xeon