From: Jean-Michel POURE <jm.poure@freesurf.fr>
To: pgsql-hackers@postgresql.org
Cc: Mike Rogers <temp6453@hotmail.com>
Subject: Re: Ultimate DB Server
Date: Sun, 28 Oct 2001 20:18:41 +0100
Message-ID: <4.2.0.58.20011028194736.00a23670@pop.freesurf.fr> (raw)
In-Reply-To: <OE34yBK4Mj7C8x4npZX000058de@hotmail.com>
References: <4.2.0.58.20011028140833.00d13490@pop.freesurf.fr>
<4.2.0.58.20011028121057.00d1a100@pop.freesurf.fr>
<4.2.0.58.20011028085953.00cfa740@pop.freesurf.fr>
<4.2.0.58.20011028085953.00cfa740@pop.freesurf.fr>
<4.2.0.58.20011028121057.00d1a100@pop.freesurf.fr>
<4.2.0.58.20011028140833.00d13490@pop.freesurf.fr>
<4.2.0.58.20011028163302.00cdc890@pop.freesurf.fr>
At 13:07 28/10/01 -0400, you wrote:
>I'm questioning whether anyone has done benchmarks on various hardware for
>PGSQL and MySQL. I'm either thinking dual P3-866's, Dual AMD-1200's, etc.
>I'm looking for benchmarks of large queries on striped -vs- non-striped
>volumes, different processor speeds, etc.
Hello Mike,
IMHO, you should consider *simple* software optimization first.
Hardware can bring a 2x gain whereas software optimization can boost an
application by 10x. Until now, I never heard or read about a real *software
optimization* benchmark between MySQL and PostgreSQL.
Software optimization includes the use of views, triggers, rules, PL/pgSQL
server side programming. By definition, it is hard to compare MySQL with
PostgreSQL because MySQL *does not include* these important features (and
probably will never do).
I see at least two easy cases where PostgreSQL beats MySQL:
1) Create a simple relational DB with triggers storing values instead of
performing LEFT JOINS. Increase the number of simultaneous queries. MySQL
will die at x queries and PostgreSQL will still be working at 5x queries.
2) Use PL/pgSQL to perform complex jobs normally devoted to an application
server (Java, PHP) on a separate platform. In some case (recursive loops
for example), network traffic can be divided by 100. As a result,
PostgreSQL can be 10x faster because everything is performed server-side.
This is to say that, in some circomstances, PostgreSQL running on an i586
with IDE drive beats MySQL on a double Pentium. In real life, applications
are always optimized at software level first before hardware level. This is
why PostsgreSQL is *by nature* better than MySQL.
Unless MySQL gets better, there is no real challenge in comparing both systems.
Cheers,
Jean-Michel POURE
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: jm.poure@freesurf.fr, pgsql-hackers@postgresql.org, temp6453@hotmail.com
Subject: Re: Ultimate DB Server
In-Reply-To: <4.2.0.58.20011028194736.00a23670@pop.freesurf.fr>
References: <4.2.0.58.20011028140833.00d13490@pop.freesurf.fr> <4.2.0.58.20011028121057.00d1a100@pop.freesurf.fr> <4.2.0.58.20011028085953.00cfa740@pop.freesurf.fr> <4.2.0.58.20011028163302.00cdc890@pop.freesurf.fr> <4.2.0.58.20011028194736.00a23670@pop.freesurf.fr>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox