Re: Interesting Benchmark Article

From: Greg Smith <greg(at)2ndquadrant(dot)com>
To: Howard Cole <howardnews(at)selestial(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org List" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Interesting Benchmark Article
Date: 2009-12-15 16:13:16
Message-ID: 4B27B59C.1050807@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Howard Cole wrote:
> Postgres comes out on top for most of the benchmarks against MySQL and
> SQL Server, in fact in the authors original article he goes as far as
> recommending using Postgres. More interestingly, the article seems to
> indicate that W2K8 server is faster for postgres than Linux in many of
> the scenarios.
I wouldn't go that far. The numbers are all really close for the
PostgreSQL results, and his results don't deserve nearly as many
significant digits as shown on his spreadsheet. And the PHP
implementation used has more impact on results in some cases than the OS
change. For all we know the entirety of the difference relates to, say,
the quality of the PostgreSQL PHP driver on the two platforms. There's
not enough data here to prove anything beyond "for this simple PHP test,
PostgreSQL performs the same on Windows and Linux, MySQL matches the
Linux results, and MySQL lags far behind any of those on Win Server
2008." Which is, again, not necessarily a statement about MySQL
performance vs. PostgreSQL performance at all--for all we know it's
because the MySQL PHP driver is garbage.

> Note that the linux version they were comparing was Ubuntu - which I
> know from personal experience has very poor default settings for
> shared_buffers due to Ubuntu's operating system defaults. Perhaps if
> theses parameters were altered postgres would get a clean sweep.
The parameters are no better on a default Windows install.

--
Greg Smith 2ndQuadrant Baltimore, MD
PostgreSQL Training, Services and Support
greg(at)2ndQuadrant(dot)com www.2ndQuadrant.com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message NetLevel Admins 2009-12-15 16:34:09 Problem with dump importing.
Previous Message Tim Bunce 2009-12-15 15:32:47 Re: PlPerl scope issue