From: Jim C. Nasby <jnasby@pervasive.com>
To: Pedro B. <pedro.borracha@netcabo.pt>
Cc: John Mohr <jtmohr@healthconresources.com>
Cc: pgsql-php@postgresql.org
Subject: Re: Why is PGSQL better than MySQL
Date: Fri, 16 Dec 2005 18:35:04 -0600
Message-ID: <20051217003504.GF53809@pervasive.com> (raw)
In-Reply-To: <1134440689.25330.112.camel@localhost>
References: <IHEBIKJHMMKHJKLKCDHLMEMMFFAA.jtmohr@healthconresources.com>
<1134440689.25330.112.camel@localhost>
On Tue, Dec 13, 2005 at 02:24:48AM +0000, Pedro B. wrote:
> On Mon, 2005-12-12 at 20:02 -0600, John Mohr wrote:
> > But does anyone know if there is a quasi-categorical comparison of the
> > two so that I could speak with more conviction other than "I know it's
> > better".
>
> I've been involved in that comparison at work, and after some boring
> theoretical discussions, i once turned to my CTO and said:
>
> "Do a test. On the same machine, do a script that executes 50.000
> inserts, OR any other 50.000 SQL operations you want, and benchmark the
> results".
My personal favorite:
CREATE TABLE s(s smallint);
INSERT INTO s VALUES(99999);
SELECT * FROM t;
Seeing what those 3 lines produce is MySQL is enough to convert 50% of
people on the spot (after you tell them that *every* type in non-strict
MySQL operates that way).
--
Jim C. Nasby, Sr. Engineering Consultant jnasby@pervasive.com
Pervasive Software http://pervasive.com work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461
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-php@postgresql.org
Cc: jnasby@pervasive.com, pedro.borracha@netcabo.pt, jtmohr@healthconresources.com
Subject: Re: Why is PGSQL better than MySQL
In-Reply-To: <20051217003504.GF53809@pervasive.com>
References: <IHEBIKJHMMKHJKLKCDHLMEMMFFAA.jtmohr@healthconresources.com> <1134440689.25330.112.camel@localhost> <20051217003504.GF53809@pervasive.com>
* 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