Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror
×
Databases Programming Software

What Would You Want to See in Database Benchmarks? 42

David Lang asks: "With the release of MySQL 5.0, PostgreSQL 8.1, and the flap over Oracle purchasing InnoDB, the age old question of performance is coming up again. I've got some boxes that were purchased for a data warehouse project that isn't going to be installed for a month or two, and could probably squeeze some time in to do some benchmarks on the machines. However, the question is: what should be done that's reasonably fair to both MySQL and PostgreSQL? We all know that careful selection of the benchmark can seriously skew the results, and I want to avoid that (in fact I would consider it close to ideal if the results came out that each database won in some tests). I would also not like to spend time generating the benchmarks only to have the losing side accuse me of being unfair. So, for both MySQL and PostgreSQL advocates, what would you like to see in a series of benchmarks?"
"The hardware I have available is as follows:
  • 2x dual Opteron 8G ram, 2x144G 15Krpm SCSI
  • 2x dual Opteron 8G ram, 2x72G 15Krpm SCSI
  • 1x dual Opteron 16G ram, 2x36G 15Krpm SCSI 16x400G 7200rpm SATA
I would prefer to use Debian Sarge as the base install of the systems (with custom built kernels), but would compile the databases from source rather then using binary packages.

For my own interests, I would like to at least cover the following bases: 32 bit vs 64 bit vs 64 bit kernel + 32 bit user-space; data warehouse type tests (data >> memory); and web prefs test (active data RAM)

What specific benchmarks should be run, and what other things should be tested? Where should I go for assistance on tuning each database, evaluating the benchmark results, and re-tuning them?"
This discussion has been archived. No new comments can be posted.

What Would You Want to See in Database Benchmarks?

Comments Filter:
  • by iamsure ( 66666 ) on Friday November 25, 2005 @11:27PM (#14116531) Homepage
    Send an open email to the dev teams on both projects, and ask for their opinions on what should be tested. It might take 3-4 rounds of back and forth to settle on a set of reasonable benchmarks and settings, but at least that way both sides are involved from the beginning.
  • Don't bother (Score:4, Insightful)

    by Anonymous Coward on Friday November 25, 2005 @11:57PM (#14116659)

    in fact I would consider it close to ideal if the results came out that each database won in some tests

    With an attitude like that, there's no point running benchmarks. The idea is that you run the benchmarks to get an idea of how the databases perform. But it seems you are already rejecting one possible result (that one database performs worse than others in all respects) because you don't consider it "fair".

    Well life isn't fair. I'm sure people worked hard on all databases, but that doesn't mean they all have value. Sometimes people try hard and fail. And you want to ignore the numbers that tell you this because you think it's fairer that way? Give me a break, you don't want to run a real benchmark, you want to run something that will tell you what you have already decided upon is the best.

  • This is simple (Score:4, Insightful)

    by MerlynEmrys67 ( 583469 ) on Friday November 25, 2005 @11:57PM (#14116664)
    Take your current application that you need the database for
    Compile your application to use each database
    Now go and compare which database runs fastest on your application

    Anything else just doesn't matter - your application is going to be different than every benchmark, so what you need is to run your application on the database and see what happens.

    What I have usually found is that while you can highly tune the database, and have great database benchmarks - most of those are ruined by completely brain dead applications that do very stupid things, ruining any kind of performance the database will give you

  • by Nutria ( 679911 ) on Saturday November 26, 2005 @12:20PM (#14118932)
    Althought I highly suspect that mysql is not suited for that sort of usage anyway.

    On the contrary, I bet that MySQL w/ MyISAM would be well suited to that task.

Our business in life is not to succeed but to continue to fail in high spirits. -- Robert Louis Stevenson

Working...