Follow Slashdot blog updates by subscribing to our blog RSS feed

 



Forgot your password?
typodupeerror
×
Databases Programming Software GNU is Not Unix IT

MySQL Beats Commercial Databases in Labs Test 419

An anonymous reader writes "Many of the big players now offer free or 'light' versions of their databases, some would call them crippleware. Builder AU compared databases from Oracle, IBM, Microsoft and MySQL, and the open source offering came out on top."
This discussion has been archived. No new comments can be posted.

MySQL Beats Commercial Databases in Labs Test

Comments Filter:
  • by TubeSteak ( 669689 ) on Thursday December 22, 2005 @11:35PM (#14324404) Journal
    No it isn't fair, but that's what those companies get for releasing a free product that can't compare to other free offerings aka OSS.

    It's exactly like comparing crippleware with freeware.
    Whose problem is it if the freeware is the better product?
  • by Daniel Dvorkin ( 106857 ) * on Thursday December 22, 2005 @11:36PM (#14324409) Homepage Journal
    Yes, I think it's a fair comparison, because the people making the decisions on which DBMS to use generally don't care about open-source vs. proprietary (or if they care, they care in the wrong way, but that's a whole 'nother discussion.) What they care about is how much the software costs; and MySQL (and Postgres, yes) costs exactly the same as the free proprietary crippleware: $0. So it's a perfectly fair comparison of "value for your non-dollar."
  • by ls -la ( 937805 ) on Thursday December 22, 2005 @11:37PM (#14324410) Journal
    I personally believe that sort of condition in a EULA is unenforcable (even assuming the EULA proper is enforcable - which I don't believe either), as it is anticompetitive. Either way, the test was done by an Australian company, and that could lend a legal hand by setting up international roadblocks to EULA enforcement.
  • by JanusFury ( 452699 ) <kevin@gadd.gmail@com> on Thursday December 22, 2005 @11:38PM (#14324421) Homepage Journal
    So, look at the pages dedicated to MS SQL Express and IBM DB2. DB2 costs thousands of dollars, MS SQL Express is free. DB2 has a slightly superior feature set and additionally runs on Linux... and they rate it drastically higher, even though it's ridiculously expensive in comparison. Don't even get me started on the fact that the MS SQL version they tested was a beta (almost every Beta MS releases is far slower than the release versions, and contains tons of additional debugging code - VC# Express Betas were drastically slower than the release version of VC# Express.) Of course, none of this is really a suprise, since the 'labs test' is pretty obviously nothing of the sort.

    And of course, absolutely no mention of stability, reliability, bugs, robustness, etc... what a suprise, considering that both MSSQL and MySQL are arguably far behind in those areas.

    Where are the test cases? Where is the testing methodology? How about some explanation of particular cases where one solution didn't compare with the others, or where one solution excelled? This 'labs test' reads more like a sales pitch than anything resembling an actual test.
  • Laughable! (Score:2, Interesting)

    by Anonymous Coward on Thursday December 22, 2005 @11:53PM (#14324492)
    I don't know... Their "results" are laughable. MySQL above SQL Server Express (and BETA too)? Yes, the Express ed limits you to 1 CPU (they HAVE to limit it in some way so large companies buy their product), but otherwise.... It's FAR better than MySQL! And then they compare that with a 20k$+ RDBMS (Oracle; and also DB2 which also costs thousands)... If you include such an expensive DB, why not include SQL Server (the "real"/uncrippled thing) for comparison? MySQL may not be limited in terms of what HW it will run onto, but it's FAR lesser of a "enterprise grade" RDBMS than ALL the other solutions they evaluated (and that would include PostgreSQL too). At that rate I wouldn't be surprised to see them praise SQLite over Oracle or such. It sounds like this guy has NO clue about MySQL's real-life limitations - perhaps he's never used it...

    There are all kinds of different DBs to fill different needs. Use whatever works for your scenario... MySQL is about the last one I'd use in most cases. And again, not including PostgreSQL?
  • by dbucowboy ( 891058 ) on Friday December 23, 2005 @12:29AM (#14324646) Homepage
    On http://xooglers.blogspot.com/ [blogspot.com] (ex google employees blog), it is mentioned that Google had started their adsense and adwords programs in MySQL. They moved to a "real" database and had so many problems that they decided to migrate back to MySQL, which they are still using to run Adsense and Adwords today. http://xooglers.blogspot.com/2005/12/lets-get-real -database.html [blogspot.com]
  • by tepples ( 727027 ) <tepples@gmai l . com> on Friday December 23, 2005 @01:39AM (#14324904) Homepage Journal

    IIRC, EULAs are considered void in Australia because it's a contract occuring after the monetary transaction. After you paid, there is no way additional conditions can be added.

    When you buy downloadable software, you are given the chance to review the EULA before you enter your payment information. Should this ruling against EULAs stand up in court, I can see Amazon or foreign counterparts doing the same for boxed software under heavy pressure from major BSA publishers.

    "But what about retail sales in person?" The United States has enacted the Digital Millennium Copyright Act and has imposed identical conditions on Australia through a recent un-Free Trade Agreement. Under the DMCA, decrypting a copyrighted work is an exclusive right of the copyright owner. This means that a retail software transaction can now be decomposed into two separate offer-acceptance-consideration sequences: The first is a regular sale, where money is traded for a box containing a disc. The second is a license or licence to decrypt the installer, where your rights are traded for decryption during the install process. The disc is useful only as a toy until you enter into this second contract.

    Even if this DMCA-based theory doesn't hold water, nothing stops a publisher from requiring all authorized retailers to make a working Internet terminal available to customers and putting a conspicuous notice on the packaging: "This sale is subject to your acceptance of terms and conditions displayed at http://eula.microsoft.com/windows/xp". In fact, this method has been upheld in a U.S. Court of Appeals [corante.com].

  • by localman ( 111171 ) on Friday December 23, 2005 @03:23AM (#14325189) Homepage
    And of course, absolutely no mention of stability, reliability, bugs, robustness, etc... what a suprise, considering that both MSSQL and MySQL are arguably far behind in those areas.

    I don't usually get involved in these discussions, because it's just armchair politics. But look -- I'm an employee for a highly successful company [zappos.com] built on top of MySQL, and it works great. Hundreds of tables, many with hundreds of millions of rows. Our primary DB averages over 1200 queries per second (yes, that's an average over several months). 15 percent of those are writes. Our system is stable. MySQL is a solid database, end of story.

    Cheers.
  • by TedRiot ( 899157 ) on Friday December 23, 2005 @03:40AM (#14325229)
    Sure, but at the company where I worked at the time this was taken into account when budgeting the project that brought Oracle to the house. Sending a couple of people to DBA courses was pretty cheap in the cost of the whole project. Not training a couple of people was considered a way bigger risk than the cost of DBA courses.

    Being beginner-friendly like MySQL can IMO promote false sense of security. I have also done my share of lightweight web development and met a lot of people who don't have a clue about MySQL's weaknesses.
  • by harlows_monkeys ( 106428 ) on Friday December 23, 2005 @03:50AM (#14325247) Homepage
    And what about postgres?

    PostgreSQL has its own problems. I have a simple table, with a couple bigint columns. Consider these two statements:

    1. select * from tbl where id = 123;

    2. select * from tbl where id = '123';

    The second is nearly three orders of magnitude faster.

    People have complained about this annoying gotcha for years.

  • by trezor ( 555230 ) on Friday December 23, 2005 @05:29AM (#14325472) Homepage

    To be honest I think feature wise MS SQL Server beats the shit out of MySQL. And that the "old" 2000 version, not the new 2005 which had quite a few improvements.

    The only limitation in these "express editions" is how large the DB can be, how much ram it will utilize and how many CPUs it will run on. 4GB dbs, 2 GB ram and 1 CPU iirc. Feature and performance-wise on that same (limited) hardware it will perform as good as the commercial version.

    As for large databases I woulnd't trust MySQL at all. It's a good light database, but I don't know how well it would hold up under serious load. Yes it has improved, but it hasn't even caught up with the features SQL Server 2000 had when it was released. Indexed Views coming anytime soon? As for PostgreSql I wouldn't know. I haven't tried that.

    I agree with those other people in this thread who think this comparison is silly. If it should be meaningful in any way there should be more DBs and there should be actual benchmarks.

  • by mattcasters ( 67972 ) on Friday December 23, 2005 @07:47AM (#14325768) Homepage
    OK, OK, it's easy to find flaws in any database.

    On mysql do this for example:

    create table T (a int, b int)
    ;
    insert into T values(1, 2);
    ;
    update T set a=b, b=a
    ;

    What is the result? Well, on most REAL database the values whould be swapped: A=2, B=1.
    On MySQL unfortunately the result is: A=2, B=2.

    That bug has been present for a long time and is still there in 5.0.

    Peace,

    Matt
  • by wjsteele ( 255130 ) on Friday December 23, 2005 @08:00AM (#14325792)
    Now, I don't know anything about MySQL, but it seems that this is just a simple matter of changing the Transaction Isolation level.

    Bill
  • Re:Rigged test (Score:2, Interesting)

    by bob2cam ( 90501 ) on Friday December 23, 2005 @09:10AM (#14325939)
    Ain't that the truth.. Here's the recommended scenerio's for SqlExpress..
    The three main usage scenarios for SQL Server Express are:
    ----
    Nonprofessional developers building Web applications

    ISVs redistributing SQL Server Express as a low-end server or client data store

    Hobbyists building basic client/server applications

    ----
    Comparing a product that makes no claim to handling the test scenario with one that is "Enterprise grade" simply because both are free is asinine.

    MySQL claims to make an enterprise grade database. If you want to compare it with other companies then do so with those companies enterprise grade databases. Compare it with DB2, Oracle 10g or SQL 2005.

    I'll tell ya', I thought the mainstream media was bad, but after reading hundreds of tech news stories over the last few months, I can't believe these people call themselves journalists.
  • by AKAImBatman ( 238306 ) <[moc.liamg] [ta] [namtabmiaka]> on Friday December 23, 2005 @09:35AM (#14326005) Homepage Journal
    Now, I don't know anything about MySQL, but it seems that this is just a simple matter of changing the Transaction Isolation level.

    *cough* What transaction isolation level? MySQL hasn't had transactions for YEARS. Once it finally got them, it turned out they were being faked anyway. A real database works correctly BECAUSE it has proper transaction isolation.
  • by the eric conspiracy ( 20178 ) on Friday December 23, 2005 @11:12AM (#14326486)
    Yeah, and if you read the article the author also states that they really didn't feel they needed tranactions, and later implemented a transaction manager themselves (I am sure THAT is really robust LOL). To me this sort of story utterly destroys any credibility. These guys are rank amatuers with no trace of a clue abut what they are doing.

    Trying to port a ridiculous application like this to 'real' database (I'm assuming Oracle) is going to be painful at the best - MySQL is not standards compliant in any way, it doesn't have a real data dictionary (ever try to figure out how to query for FKEY constraints in MySQL? Serious pain there).

  • Re:Good freakin god (Score:5, Interesting)

    by sootman ( 158191 ) on Friday December 23, 2005 @11:12AM (#14326487) Homepage Journal
    And I'm equally tired of hearing from MySQL haters who bitch and bitch and bitch about how MySQL isn't worth shit and should never be used for anything, anywhere, ever. Need I remind you that the very site you're looking at runs on MySQL and handles literally millions of pageviews per day? OK, fine, I won't. How's this then: hundreds of the 33,000 employees where I work rely on MySQL daily, whether they know it or not. Phone lists, surveys, reporting apps, inventory databases, etc etc etc. MySQL does the job and does it just fine. It has not failed me once in all the years I've been using it.

    And SQLite is better? Because it's ACID? HA! HA HA HA HA HA! GIVE ME A FUCKING BREAK! That's the only buzzword it IS compliant with. Look at this:

    Q: SQLite lets me insert a string into a database column of type integer!
    A: This is a feature, not a bug. SQLite does not enforce data type constraints. [emphasis added]

    and this:

    Q: What is the maximum size of a VARCHAR in SQLite?
    A: SQLite does not enforce the length of a VARCHAR. You can declare a VARCHAR(10) and SQLite will be happy to let you put 500 characters in it. And it will keep all 500 characters intact - it never truncates.

    and this:

    Q: Does SQLite support a BLOB type?
    A: SQLite versions 3.0 and leter let you puts BLOB data into any column, even columns that are declared to hold some other type.

    all this and more can be seen at http://www.sqlite.org/faq.html [sqlite.org]

    "And Postgresql is far more robust and performs just as well."

    And only recently ran natively under Windows. Sorry, but when you're in a company with 33k employees and a substantial IT department, you don't always get to pick your platform. MySQL was there, it worked, and it continues to do so. Why would I switch?

    Let me make the required car analogy: a semi is several orders of magnitude more powerful than a 2WD pickup truck. A semi can haul more, and haul more further, and haul big loads more efficiently, and with a sleeper cab and two drivers can operate 24/7, and you can get refrigerated units to move food, etc etc etc. Why, then, are there millions of 2WD pickups sold? Are they just "shitty vehicles with lots of mindshare"? NO! It's because 99.9% of the population just wants to move a couch or go to Home Depot or something. Maybe it'll take a few trips to help a friend move, but even that takes fewer hours than getting a class-whatever license, plus pickups are easier to maneuver and park in apartment complex parking lots and residential neighborhoods, etc etc etc.

    I'm not saying MySQL is better than everythinhg else. The fact is, databases and computers are SO capable now that even the WORST in the field is STILL more than 99% of people need. In other words, MySQL is Just Fine.

    PS: MySQL is ACID when used with InnoDB tables which came out about 3 years ago. [google.com] Time to update your troll.
  • by wjsteele ( 255130 ) on Friday December 23, 2005 @12:22PM (#14326875)
    Wow... I guess that explains it's bad behavior. It'll never be a real database if it can't do a simple ACID transaction.

    Bill

Pound for pound, the amoeba is the most vicious animal on earth.

Working...