Database performance comparison paper.

Lists: pgsql-general
From: Marc Evans <Marc(at)SoftwareHackery(dot)Com>
To: pgsql-general(at)postgresql(dot)org
Subject: Database performance comparison paper.
Date: 2007-02-15 18:21:03
Message-ID: 20070215132025.O54198@me.softwarehackery.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

Some people may find this interesting reading.

http://us.devloop.org.uk/

- Marc


From: Alexander Elgert <alexander_elgert(at)adiva(dot)de>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Database performance comparison paper.
Date: 2007-02-15 20:05:35
Message-ID: 45D4BD0F.5000101@adiva.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

Marc Evans schrieb:
> Some people may find this interesting reading.
>
> http://us.devloop.org.uk/
Nice, but it would be interesting which storage engine was used for
mysql - ok, default is MyIsam.

Does mysql (in the latest version) still use a single write-thread for
writing?
In mysql 3, a badly formed query which writes millions of tuples to a
temporary table blocks the database for the whole query execution time.

Greetings,
Alexander


From: Guido Neitzer <lists(at)event-s(dot)net>
To: Postgresql General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Database performance comparison paper.
Date: 2007-02-15 21:29:27
Message-ID: 353AB66F-6DC8-4B96-A21F-39DBFBA2742F@event-s.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

Am 15.02.2007 um 11:21 schrieb Marc Evans:

> http://us.devloop.org.uk/

These *peeeeeeep* [deleted] compared MySQL with MyISAM to ACID
compliant databases. So why not compare an F-15 to 747? What? Apples
and Oranges? So what? You can compare anything you want, right? Only
the result matters.

So, my hint to these guys is: learn about the principles of databases
(at least read: <http://en.wikipedia.org/wiki/ACID>), then about the
principles of optimizing databases, then about the principles of
testing (don't compare products or setups that do completely
different things) and then do you homework again.

Go home.

cug


From: Ron Johnson <ron(dot)l(dot)johnson(at)cox(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Database performance comparison paper.
Date: 2007-02-15 21:49:38
Message-ID: 45D4D572.1020002@cox.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 02/15/07 15:29, Guido Neitzer wrote:
> Am 15.02.2007 um 11:21 schrieb Marc Evans:
>
>> http://us.devloop.org.uk/
>
> These *peeeeeeep* [deleted] compared MySQL with MyISAM to ACID compliant
> databases. So why not compare an F-15 to 747? What? Apples and Oranges?
> So what? You can compare anything you want, right? Only the result matters.

Bad analogy. Both the F-15 and 747 are high-performance (within
their problem domains) and have redundancy out the wazoo.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFF1NVyS9HxQb37XmcRAubPAKDUOQ6n38YnGWhZTIHZM3zyTDFBDQCfYvyn
3Wdim4mnuFXn0hIPEHGu5Vw=
=nvPe
-----END PGP SIGNATURE-----


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Ron Johnson <ron(dot)l(dot)johnson(at)cox(dot)net>
Cc: pgsql-general(at)postgreSQL(dot)org
Subject: Re: Database performance comparison paper.
Date: 2007-02-16 06:10:46
Message-ID: 11341.1171606246@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

Ron Johnson <ron(dot)l(dot)johnson(at)cox(dot)net> writes:
> -----BEGIN PGP SIGNED MESSAGE-----
>> Am 15.02.2007 um 11:21 schrieb Marc Evans:
>> These *peeeeeeep* [deleted] compared MySQL with MyISAM to ACID compliant
>> databases. So why not compare an F-15 to 747? What? Apples and Oranges?

> Bad analogy. Both the F-15 and 747 are high-performance (within
> their problem domains) and have redundancy out the wazoo.

I think it's a fine analogy, precisely because they're both good in
their respective problem domains. Try to carry 500 people from Los
Angeles to Tokyo in an F-15. No? Try to win a dogfight in a 747. No?
But they both fly, so it must be useful to compare them... especially
on the basis of the most simplistic test case you can think of. For
extra points, use *only one* test case. Perhaps this paper can be
described as "comparing an F-15 to a 747 on the basis of required
runway length".

regards, tom lane


From: "Leif B(dot) Kristensen" <leif(at)solumslekt(dot)org>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Database performance comparison paper.
Date: 2007-02-16 23:02:08
Message-ID: 200702170002.08089.leif@solumslekt.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

On Friday 16. February 2007 07:10, Tom Lane wrote:

> Perhaps this
> paper can be described as "comparing an F-15 to a 747 on the basis of
> required runway length".

There ought to be a proper name for this kind of pseudo-technical Gonzo
journalism. The Internet is full of it.
--
Leif Biberg Kristensen | Registered Linux User #338009
http://solumslekt.org/ | Cruising with Gentoo/KDE
My Jazz Jukebox: http://www.last.fm/user/leifbk/


From: Guido Neitzer <lists(at)event-s(dot)net>
To: Postgresql General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Database performance comparison paper.
Date: 2007-02-18 18:07:57
Message-ID: E67B8518-A875-4CFF-85E4-C42453E41353@event-s.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

Am 15.02.2007 um 13:05 schrieb Alexander Elgert:

> Nice, but it would be interesting which storage engine was used for
> mysql - ok, default is MyIsam.

They used MyISAM as it is described late in the paper.

cug


From: Tom Allison <tom(at)tacocat(dot)net>
To: "Leif B(dot) Kristensen" <leif(at)solumslekt(dot)org>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Database performance comparison paper.
Date: 2007-02-19 07:10:12
Message-ID: 45D94D54.5090102@tacocat.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

Leif B. Kristensen wrote:
> On Friday 16. February 2007 07:10, Tom Lane wrote:
>
>> Perhaps this
>> paper can be described as "comparing an F-15 to a 747 on the basis of
>> required runway length".
>
> There ought to be a proper name for this kind of pseudo-technical Gonzo
> journalism. The Internet is full of it.

advertalism?


From: Andrew Sullivan <ajs(at)crankycanuck(dot)ca>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Database performance comparison paper.
Date: 2007-02-19 19:40:56
Message-ID: 20070219194056.GA9448@phlogiston.dyndns.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

On Sat, Feb 17, 2007 at 12:02:08AM +0100, Leif B. Kristensen wrote:
>
> There ought to be a proper name for this kind of pseudo-technical Gonzo
> journalism.

There is, but it's not the sort of word one uses in polite company
;-)

A

--
Andrew Sullivan | ajs(at)crankycanuck(dot)ca
Unfortunately reformatting the Internet is a little more painful
than reformatting your hard drive when it gets out of whack.
--Scott Morris


From: Geoffrey <esoteric(at)3times25(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Database performance comparison paper.
Date: 2007-02-20 00:46:56
Message-ID: 45DA4500.7030106@3times25.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

Tom Allison wrote:
> Leif B. Kristensen wrote:
>> On Friday 16. February 2007 07:10, Tom Lane wrote:
>>
>>> Perhaps this
>>> paper can be described as "comparing an F-15 to a 747 on the basis of
>>> required runway length".
>>
>> There ought to be a proper name for this kind of pseudo-technical
>> Gonzo journalism. The Internet is full of it.
>
> advertalism?

Lies?

--
Until later, Geoffrey

Those who would give up essential Liberty, to purchase a little
temporary Safety, deserve neither Liberty nor Safety.
- Benjamin Franklin


From: Jan Wieck <JanWieck(at)Yahoo(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Ron Johnson <ron(dot)l(dot)johnson(at)cox(dot)net>, pgsql-general(at)postgresql(dot)org
Subject: Re: Database performance comparison paper.
Date: 2007-02-20 00:49:21
Message-ID: 45DA4591.6080906@Yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

On 2/16/2007 1:10 AM, Tom Lane wrote:
> extra points, use *only one* test case. Perhaps this paper can be
> described as "comparing an F-15 to a 747 on the basis of required
> runway length".

Oh, this one wasn't about raw speed of trivial single table statements
like all the others?

Jan

--
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#================================================== JanWieck(at)Yahoo(dot)com #


From: Guido Neitzer <lists(at)event-s(dot)net>
To: Postgresql General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Database performance comparison paper.
Date: 2007-02-20 15:19:07
Message-ID: 6400CFE6-3304-4082-B46F-357CB6033272@event-s.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

Am 19.02.2007 um 17:49 schrieb Jan Wieck:

> Oh, this one wasn't about raw speed of trivial single table
> statements like all the others?

No, it wasn't. They also tested the insert performance of a system
without foreign keys and without transactions (MySQL MyISAM) against
systems with foreign key handling and transactions.

It would be more or less the same, if you compare copy against insert
performance on PostgreSQL and state that insert should be as fast as
copy without saying why.

Btw: these guys claim to be database consultants.

cug


From: "Andrej Ricnik-Bay" <andrej(dot)groups(at)gmail(dot)com>
To: "Guido Neitzer" <lists(at)event-s(dot)net>
Cc: "Postgresql General" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Database performance comparison paper.
Date: 2007-02-20 20:51:51
Message-ID: b35603930702201251q3425402cma93e0aee3a6b3cf2@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

On 2/21/07, Guido Neitzer wrote:

> It would be more or less the same, if you compare copy against insert
> performance on PostgreSQL and state that insert should be as fast as
> copy without saying why.
>
> Btw: these guys claim to be database consultants.
Guess one should consider oneself lucky not to be their
customer, then, since they seem to base their decisions
on thin air and personal preference...

> cug
Cheers,
Andrej


From: Jan Wieck <JanWieck(at)Yahoo(dot)com>
To: Andrej Ricnik-Bay <andrej(dot)groups(at)gmail(dot)com>
Cc: Guido Neitzer <lists(at)event-s(dot)net>, Postgresql General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Database performance comparison paper.
Date: 2007-02-21 01:10:56
Message-ID: 45DB9C20.60506@Yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

On 2/20/2007 3:51 PM, Andrej Ricnik-Bay wrote:
> On 2/21/07, Guido Neitzer wrote:
>
>> It would be more or less the same, if you compare copy against insert
>> performance on PostgreSQL and state that insert should be as fast as
>> copy without saying why.
>>
>> Btw: these guys claim to be database consultants.
> Guess one should consider oneself lucky not to be their
> customer, then, since they seem to base their decisions
> on thin air and personal preference...

As the original author of the PHP TPC-W implementation you can find on
pgfoundry, I know pretty good what it takes to make MySQL perform about
as good as PostgreSQL under a real benchmarking scenario. I implemented
all the database access parts basically two times. Once for PostgreSQL
as an experienced DB developer would do it, once turning half the
queries upside down in a horribly unintuitive way to give MySQL+InnoDB
clues how to do it. Of course did I NOT run any of those tests using MyISAM.

In the end, both implementations performed more or less the same,
measured at the HTTP interface. What the PHP+PG implementation did more
elegantly in SQL, the PHP+My implementation had to do with more PHP
code. And that is where all those crappy wannabe-benchmarks just fail to
make sense to me. They measure some common denominator SQL statements at
an abstracted DB API level. That is just nonsense. It doesn't matter how
fast a specific index scan or a specific insert or update operation by
itself is. What matters is how many parallel simulated users of a well
defined business application the System Under Test (middleware plus
database) can support within the responsetime constraints.

All that said, what really scares me is that these clowns apparently
don't even know the system of their preference. No serious DB consultant
would even bother testing anything using MyISAM any more. It is a table
handler only considered for "disposable data".

Jan

--
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#================================================== JanWieck(at)Yahoo(dot)com #