Re: Tuning/performance issue...

From: Jeff <threshar(at)torgo(dot)978(dot)org>
To: David Griffiths <dgriffiths(at)boats(dot)com>
Cc: "pgsql-performance(at)postgresql(dot)org" <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Tuning/performance issue...
Date: 2003-10-01 12:23:10
Message-ID: Pine.BSF.4.44.0310010817001.22676-100000@torgo.978.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Tue, 30 Sep 2003, David Griffiths wrote:

>
> This is all part of a "migrate away from Oracle" project. We are looking at
> 3 databases -
> MySQL (InnoDB), Postgres and Matisse (object oriented). We have alot of
> queries like this
> or worse, and I'm worried that many of them would need to be re-written. The
> developers
> know SQL, but nothing about tuning, etc.
>

There's a movement at my company to ditch several commercial db's in favor
of a free one. I'm currently the big pg fan around here and I've actually
written a rather lengthy presentation about pg features, why, tuning, etc.
but another part was some comparisons to other db's..

I decided so I wouldn't be blinding flaming mysql to give it a whirl and
loaded it up with the same dataset as pg. First thing I hit was lack of
stored procedures. But I decided to code around that, giving mysql the
benefit of the doubt. What I found was interesting.

For 1-2 concurrent
'beaters' it screamed. ultra-fast. But.. If you increase the concurrent
beaters up to say, 20 Mysql comes to a grinding halt.. Mysql and the
machine itself become fairly unresponsive. And if you do cache unfriendly
queries it becomes even worse. On PG - no problems at all. Scaled fine
and dandy up. And with 40 concurrent beaters the machine was still
responsive. (The numbers for 20 client was 220 seconds (pg) and 650
seconds (mysql))

So that is another test to try out - Given your configuration I expect you
have lots of concurrent activity.

--
Jeff Trout <jeff(at)jefftrout(dot)com>
http://www.jefftrout.com/
http://www.stuarthamm.net/

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Shridhar Daithankar 2003-10-01 12:32:14 Re: What is the fastest null WHERE
Previous Message Mindaugas Riauba 2003-10-01 12:11:30 What is the fastest null WHERE