Re: postgresql vs mysql

From: "Merlin Moncure" <mmoncure(at)gmail(dot)com>
To: "Lincoln Yeoh" <lyeoh(at)pop(dot)jaring(dot)my>
Cc: "Chad Wagner" <chad(dot)wagner(at)gmail(dot)com>, "gustavo halperin" <ggh(dot)develop(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: postgresql vs mysql
Date: 2007-02-21 17:47:02
Message-ID: b42b73150702210947g12b2d3ccx7d3dc49f45459b4c@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 2/21/07, Lincoln Yeoh <lyeoh(at)pop(dot)jaring(dot)my> wrote:
> At 07:31 PM 2/21/2007, Chad Wagner wrote:
> >On 2/20/07, gustavo halperin
> ><<mailto:ggh(dot)develop(at)gmail(dot)com>ggh(dot)develop(at)gmail(dot)com> wrote:
> >I have a friend that ask me why postgresql is better than mysql.
> >I personally prefer posgresql, but she need to give in her work 3 or 4
> >strong reasons for that. I mean not to much technical reasons. Can you
> >give help me please ?
> >
> >
> >How about the fact that MySQL accepts the following query as legal:
> >
> >SELECT foo, bar, COUNT(*)
> >FROM baz
> >GROUP BY foo
> >
> >And produces, naturally, an unexpected result instead of an
> >error. Totally annoying, I don't know if it was ever fixed. It
> >seems that MySQL's parser is generally weak at syntax validation in
> >it's default configuration.
>
> ** syntax/misc gotchas
>
> Too many. See other emails. Or search for MySQL gotchas.
>
> ** Feature gotchas
> At first look MySQL seems to have all sorts of nice features and
> great performance. BUT, when you start to get to the details, too
> often you'd find that some features aren't so compatible with others
> or take a bit (lot?) more effort to get working properly.

boy, you hit the nail on the head. mysql supports views and
subqueries, but apparently not at the same time. also, complex views
(such as you can write without subqueries) tend to run slower than
identical counterpart in .sql.

mysql supports pl/psm (yay) but unfortunately no FOR loops (yikes).

the mysql planner is an unpredictable thing, producing huge surprises
to the upside and the downside...however taken as a whole it is a
completely inferior planner.

merlin

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Sergio Andreozzi 2007-02-21 18:21:09 how to generate a list of distinct scalar values from a column which type is array
Previous Message Ian Harding 2007-02-21 17:38:33 Re: Recursive Left Joins Causing Trouble in 8.2.3 RESOLVED (kind of)