Re: more anti-postgresql FUD

From: "Jim C(dot) Nasby" <jim(at)nasby(dot)net>
To: Jorge Godoy <jgodoy(at)gmail(dot)com>
Cc: Jacob Coby <jcoby(at)listingbook(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-general(at)postgresql(dot)org, Merlin Moncure <mmoncure(at)gmail(dot)com>
Subject: Re: more anti-postgresql FUD
Date: 2006-10-11 01:43:10
Message-ID: 20061011014310.GE72517@nasby.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Oct 10, 2006 at 06:25:21PM -0300, Jorge Godoy wrote:
> "Jacob Coby" <jcoby(at)listingbook(dot)com> writes:
>
> > We were looking to improve our session performance, so I did a basic
> > test of using mysql 4.0 innodb vs postgres 8.1. The test did a simple
> > retrieve, update, save; 1 time per page. mysql was stock, pg had a
> > shared_buffers and a couple of other standard tweaks done. ab was used
> > to provide the load. server was an old dell pe2450 with 640mb of ram.
> > tables were simple and a single primary key-foreign key relationship
> > between them.
> >
> > pg was not only faster, it scaled to higher concurrency and had more
> > predictable response times. mysql nosed over at around 5 concurrent
> > connections. pg went to somewhere around 15.
> >
> > the more I read, the more it seems that mysql speed is a myth. it may
> > be faster for simple flat-text sort of operations with one or two
> > concurrent users where the app maintains RI, validates all data, and
> > handles all of the complex joins. it just doesn't seem to scale up as
> > well as pg.
>
> I'm sorry but you tuned PG and not MySQL. This by itself makes that claim a
> problem. If you used PG stock versys MySQL stock, then it would be more
> valid. When comparing two things you have to give them the most fair
> condition that is possible (i.e., either put two experts to tune both or use
> both as shipped by their suppliers).

Not necessarily. Last I heard, MySQL ships with multiple config files,
ie: small, medium and large. So by choosing one of those you're
effectively tuning MySQL as well.

If you want a real apples-apples out-of-the-box, run MySQL with a small
config and PostgreSQL stock.
--
Jim Nasby jim(at)nasby(dot)net
EnterpriseDB http://enterprisedb.com 512.569.9461 (cell)

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jim C. Nasby 2006-10-11 01:44:40 Re: restoring a file system backed-up data dir
Previous Message Jim C. Nasby 2006-10-11 01:37:28 Re: Problem with a date when restoring on postgresql 7.4.9 : date/time field value out of range