Re: prelimiary performance comparison pgsql vs mysql

From: Mark Rae <mrae(at)purplebat(dot)com>
To: Rick Schumeyer <rschumeyer(at)ieee(dot)org>
Cc: 'PgSql General' <pgsql-general(at)postgresql(dot)org>
Subject: Re: prelimiary performance comparison pgsql vs mysql
Date: 2005-03-14 13:31:02
Message-ID: 20050314133102.GB9270@purplebat.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Mar 14, 2005 at 06:52:58AM -0500, Rick Schumeyer wrote:
> Below are some PRELIMINARY results in comparing the performance of pgsql and
> mysql.
> ...
> I have not yet done any testing of transactions, multiple concurrent
> processes, etc.
>

I would say that doing the concurrency tests is probably the most
important factor in comparing other databases against MySQL, as
MySQL will almost always win in single-user tests.

E.g. here are some performance figures from tests I have done in the past.
This is with a 6GB databse on a 4CPU Itanium system running a mixture of
read-only queries, but it is fairly typical of the behaviour I have seen.
The Oracle figures also scaled in a similar way to postgres.

Clients 1 2 3 4 6 8 12 16 32 64 128
-------------------------------------------------------------------------------
mysql-4.1.1 1.00 1.41 1.34 1.16 0.93 1.03 1.01 1.00 0.94 0.86 0.80
pg-7.4.1 0.65 1.27 1.90 2.48 2.45 2.50 2.48 2.51 2.49 2.39 2.38

-Mark

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Michael Fuhr 2005-03-14 13:44:05 Re: plpython function problem workaround
Previous Message Miroslav Šulc 2005-03-14 13:21:24 Re: