Re: PostgreSQL vs. MySQL

From: Richard Huxton <dev(at)archonet(dot)com>
To: Rafal Kedziorski <rafcio(at)polonium(dot)de>, pgsql-performance(at)postgresql(dot)org
Subject: Re: PostgreSQL vs. MySQL
Date: 2003-07-04 11:12:25
Message-ID: 200307041212.25289.dev@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs pgsql-general pgsql-hackers pgsql-performance

On Friday 04 Jul 2003 11:03 am, Rafal Kedziorski wrote:
> Hi,
>
> has anybody tested PostgreSQL 7.3.x tables agains MySQL 4.0.12/13 with
> InnoDB?

Lots of people probably. The big problem is that unless the tester's setup
matches your intended usage the results are of little worth.

For the tests to be meaningful, you need the same:
- hardware
- OS
- query complexity
- usage patterns
- tuning options

I'd suggest running your own tests with real data where possible. Just to make
the situation more interesting, the best way to solve a problem in PG isn't
necessarily the same in MySQL.

From my experience and general discussion on the lists, I'd say MySQL can win
for:
- simple selects
- some aggregates (e.g. count(*))
PG wins for:
- complex queries
- large numbers of clients
- stored procedures/functions
- SQL compliance

--
Richard Huxton

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message Brian Tarbox 2003-07-04 12:27:36 Re: PostgreSQL vs. MySQL
Previous Message Rafal Kedziorski 2003-07-04 10:03:03 PostgreSQL vs. MySQL

Browse pgsql-general by date

  From Date Subject
Next Message Bruno BAGUETTE 2003-07-04 11:18:27 RE : [GENERAL] pgAdmin III - Call for Translators
Previous Message Richard Huxton 2003-07-04 11:05:46 Re: Unicode errors?

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruno BAGUETTE 2003-07-04 11:18:27 RE : [GENERAL] pgAdmin III - Call for Translators
Previous Message Teodor Sigaev 2003-07-04 11:04:49 Re: How to submit Tsearch V2 ?

Browse pgsql-performance by date

  From Date Subject
Next Message Brian Tarbox 2003-07-04 12:27:36 Re: PostgreSQL vs. MySQL
Previous Message Rafal Kedziorski 2003-07-04 10:03:03 PostgreSQL vs. MySQL