Slashdot Mirror


MySQL Beats Commercial Databases in Labs Test

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."

53 of 419 comments (clear)

  1. Isn't this an EULA violation? by Anonymous Coward · · Score: 5, Insightful

    I thought the reason MySQL don't post their own comparisons is because the EULAs of Oracle etc. specifically forbid public posting of benchmark results?

    1. Re:Isn't this an EULA violation? by ocelotbob · · Score: 3, Insightful

      The eulas mention performance benchmarks. This article dealt more with feature sets and price/performance questions. No benchmark numbers here, so the EULA means nothing.

      --

      Marxism is the opiate of dumbasses

    2. Re:Isn't this an EULA violation? by AKAImBatman · · Score: 5, Insightful

      Even if the EULA applied here (which it doesn't, this isn't benchmarks), this is a lame "comparison". What they do is take the crippled versions of $$$ commercial databases that are
      "free" for development or personal use, and then compare them against only ONE OSS database. Would you like to guess which OSS database that is?

      The entire story feels trumped up to appeal to MySQL fans.

    3. Re:Isn't this an EULA violation? by arkanes · · Score: 4, Informative
      Gah. Did you even bother to fucking check before spouting this traditional "can't rely on OSS" crap? MySQL AB is a commercial company that owns the copyright to MySQL and employs every major MySQL developer. They make money off support contracts and non-GPL licensed versions of MySQL. I can't speak for how *good* thier support is, as I've never used it, but apparently neither can you.

      And I'm an avowed MySQL hater. I think it's a shitty hack of a database and there is no problem domain where there isn't at least one other product is a better solution. But this "no support" line is almost as wrong as it is stupid.

      By the way, the kind of support you're claiming you need (24/7 on call support with access to someone who can provide a patch for a new problem) will be enormously expensive, where it's even available - there's no support plan Microsoft provides that makes those sort of promises, for example. You might get a patch in a half hour if it's a known problem and they have one ready for it, but you'll probably spend more than that half hour just convincing the rep that you have that specific problem. IBM or some of the other more service oriented companies may provide that kind of support. It's going to be expensive though - expensive enough that if you're worried about how much it's going to cost, it's probaby more than your company is worth.

  2. I like MySQL, but... by SanityInAnarchy · · Score: 4, Insightful

    Is it really fair to compare an open-source project, designed to compete with for-pay commercial products, with crippled versions of said commercial products?

    Of course, I don't really care what the answer to that is -- either way, I win. Either commercial DB vendors really are releasing heavily crippled versions (bad for them), or MySQL really is the best DB out there (good for it).

    And what about postgres?

    --
    Don't thank God, thank a doctor!
    1. Re:I like MySQL, but... by east+coast · · Score: 3, Insightful

      Either commercial DB vendors really are releasing heavily crippled versions (bad for them)

      In what way is that bad for them? Let's face facts, by the time you're using a DB that requires some serious power it probably means you're making money with it. That's the idea behind writing enterprise level software: to make cash. These lesser "crippled" version are goodwill as I see it, and mostly for students or armature enthusiasts.

      By the time you're making money from technology the user should be willing to ante up a few shekels to keep the game going instead of being cheap and running down the market.

      --
      Dedicated Cthulhu Cultist since 4523 BC.
    2. Re:I like MySQL, but... by harlows_monkeys · · Score: 4, Interesting
      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.

    3. Re:I like MySQL, but... by kanazir · · Score: 5, Informative

      And that is fixed year ago...

  3. Obligatory.... by mla_anderson · · Score: 5, Insightful

    And what about PostgreSQL? It should fare very well.

    --
    Sig is on vacation
    1. Re:Obligatory.... by slashdotnickname · · Score: 4, Informative

      And what about PostgreSQL? It should fare very well.

      Indeed. In fact, tests in the past showed postgres was a better choice over mysql. But don't take my word, compare it yourself with those in the article...

      http://www.postgresql.org/

  4. Microsoft? by Atlantis-Rising · · Score: 3, Insightful

    I only skimmed TFA, but why are they using Microsoft's Express Beta version? rather than SQL Server Standard edition? Kind of rigged, ne? Plus, it's a beta! Come on! I know it's microsoft, and this is slashdot, but please!

    --
    "It is possible to commit no errors and still lose. That is not a weakness. That is life." -Peak Performance
  5. Maybe not in Australia by ls+-la · · Score: 5, Interesting

    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.

    1. Re:Maybe not in Australia by Red+Alastor · · Score: 5, Informative

      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.

      That's how it should be everywhere.

      --
      Slashdot anagrams to "Sad Sloth"
  6. Two things... by komodotoes · · Score: 3, Insightful

    First, you would think that PostgreSql would be top o' the heap because it's equal to / arguably better than MySql in features, and it's under a more permissive licence.

    Second - Sweet Hog of Prague! Oracle 10g costs $24 grand Per CPU!?!?!?!?




    NeverEndingBillboard.com

    1. Re:Two things... by imemyself · · Score: 4, Informative

      I'm not sure what Oracle version that's for. Oracle DB Stadnard is $15k per processor. Enterprise is $40,000 per CPU. There is also a Standard One edition that's "only" $5k per CPU. In addition to the in-beta Oracle XE(free). On the bright side, pretty much all of Oracle's stuff is free for development use.

      --
      Every time you post an article on Slashdot, I kill a server. Think of the servers!
    2. Re:Two things... by kpharmer · · Score: 3, Insightful

      > Second - Sweet Hog of Prague! Oracle 10g costs $24 grand Per CPU!?!?!?!?

      oh, it can be *far* more expensive than that. The enterprise version is $40k/CPU, and that doesn't even including partitioning. To get Partitioning (and yes, you want it for any large database) you're looking at an extra $10k/CPU. And there are other extra charges as well. You can easily end up at $60k/CPU.

      On the flip side, you can also get away with $5k/CPU if you know what you're doing, and if what you're doing is small. On the large side where you'd pay $60k/CPU you've probably also got $600k in hardware and a staff of at least a half-dozen. Guess what? The software & hardware almost always end up as a rounding-error compared to the labor costs. Doesn't really matter if the application is custom or commercial, they both seem to have about the same labor costs.

  7. So, how much did MySQL AB pay for this? by JanusFury · · Score: 5, Interesting

    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.

    --
    using namespace slashdot;
    troll::post();
  8. Crappy business model... by xxxJonBoyxxx · · Score: 4, Insightful
    This looks like one crappy business model:

    "Our scenario in this comparison calls for a database solution for a relatively small e-commerce company with less than 200 employees. The company sells DVDs and books over the Internet and will initially have around 1000 customers"

    Lemme see...five customers for each employee? With an American workforce pulling down $40K each with benefits, that means each customer needs to buy $8K of useless crap from this one company every year.

    1. Re:Crappy business model... by burns210 · · Score: 4, Funny

      So they happen to sell adult movies on DVD. People spend big money on that.... so I hear.

  9. SQL Server Express Is Mostly for Developers by ThinkFr33ly · · Score: 5, Insightful

    SQL Server Express is not really meant for any serious production environments. I suppose one could use it for a personal web site here and there, but it is a tool primarily meant for developers.

    Instead of having to have access to a full fledged SQL Server, you use SQL Server Express to develop your application and then deploy it to a full SQL Server when that server becomes available.

    Since SQL Server Express supports the vast majority of the features that a developer might need, it is very useful during the initial development of an application.

    In my experience, SQL Server Express is great for basic projects (like a personal web site or blog) and for the initial phases of development of a "real" project. Once you start getting into the realm of serious applications, where one might need finer grained control of isolation and locking, or when you are at the point where you need to do performance testing of your application, you really do need to move up to the full SQL Server box.

    At any rate, I'm not really sure this comparison is all that fair. MySQL makes an attempt to be a database server for "real" applications, where as SQL Server Express is more of a development tool / MS Access replacement that is targeted at personal projects.

  10. Not surprising by aiken_d · · Score: 3, Informative

    Even the crippled versions of DB2, Oracle, and MSSQL still have the underpinings for advanced features that MySQL doesn't support. From real replication to actual performance monitoring (all three of the big guys provide detailed hooks into the guts of the DB) to support for multiple filegroups and indexes and databases spread across filegroups, the big DB's have features that are important but impact performance.

    Heck, you want to see MySQL get its ass kicked on performance? Run a test on a filesystem against MySQL.

    Comparing performance among databases is only meaningful if all of the candidates have the features you need. MySQL has come a long way, and I use it in production every day, but this is kind of a silly comparison. The free versions of the big DB's are meant to provide an easy migration path to more feature-complete versions; if you use SQL Server Express and want to upgrade to something that that supports clustering and log shipping, you may your money and get your features. With MySQL, if you outgrow it, you either need to start writing code, migrating to something else, or sitting on your hands waiting for it to get there.

    Recap, for those who won't RTFC and want to slag me: I like MySQL. I use it for mission critical purposes in production environments. However, comparing a simpler product's performance to (crippled versions of) more robust products is silly.

    Cheers
    -b

    --
    If I wanted a sig I would have filled in that stupid box.
    1. Re:Not surprising by MBCook · · Score: 5, Informative

      I just finished reading it, and the didn't run any performance tests (which I would have liked to have seen). They were comparing options, features, prices, etc. The only mention of performance was things like "here are some neat tunable options that affect performance." and "but performance won't scale that well because you are limited to one CPU" (not direct quotes). This article is an overview, not a "lab test". I'm not sure where that came from. The original article says they were "tested" also. They installed all the products and poked around, but no performance numbers were presented at all.

      --
      Comment forecast: Bits of genius surrounded by a sea of mediocrity.
  11. Re:Correctness isn't negotiable by irc.goatse.cx+troll · · Score: 3, Informative

    Not the original poster and I know nothing of what he was refering to, but if you're doing a minor app, I suggest SQLite -- a fully standalone SQL implentation. As in, you specify a database.db file and can do all the sql fun you want in it, but never have to deal with telling the user to set up mysql + authentication + etc, which is a big hassle when all you want sql for is your own data manipulation.

    Pretty fast(I never benched it, but its never been an issue), very portable, works in all major languages, overall a very nice tool to have.

    --
    Pain lasts, kid. Its how you know you're alive. Sometimes I think this growing up thing is just pain management-TheMaxx
  12. Re:Correctness isn't negotiable by Chmarr · · Score: 5, Informative

    Actually, it's quite true, and if you look at what's actually going on behind the scenes inside the database, it makes sense.

    If there's nothing going on in the database, then the 'summary' value that MySQL keeps is probably spot on accurate. But, if there's lots of simultaneous inserts and deletes, then it's really going to be very approximate. Until things are all flushed, the summary may include all the inserts and none of the deletes, or vice versa. If you wanted to make the summary information accurate, then you'd have to establish locks and the like around that summary value, and THAT will slow the database down. As it stands, inserts and deletes can be executed with ZERO regard to each other.

    Postgresql has a similar problem, except instead of offering a summary value and informed that it's an estimate, whenever you do a count(*) it actually scans the entire table file looking for 'valid' rows. Ie, count(*) is not instantaneous. I think they were going to address this issue in a later release (or perhaps it's in 8.1 already), but it's NOT a simple thing. However, if you wanted instant answers in Postgresql NOW, you can do it by setting up a trigger on insert and delete, and maintaining your own summaries. This is a performance hit, of course... but you'd get the same, or a similar hit, if the database was maintaining for you.

    What the 'big guys' do, I don't know. But... don't knock MySQL for doing something weird :)

    Postgresql, for comparison, will give you an 'accurate' value, but it actually has to create rows: it can't rely on summary information.

  13. Most important comparison... by aapold · · Score: 3, Insightful

    the money you can get paid as a DBA for each type of database...

    --
    "Waste not one watt!" - CZ
  14. Re:Correctness isn't negotiable by Guppy06 · · Score: 5, Informative

    Both you and the parent aren't reading what they wrote. SELECT COUNT (*) is accurate, it was SHOW TABLE STATUS that gives the estimate (as it should, IMO).

  15. Re:Correctness isn't negotiable by aiken_d · · Score: 4, Informative

    Parent is quite right. Count(*) is expensive, especially on big tables, so it's handy to have a quicker way that's not as accurate. MSSQL has it, too:
    select rows from sysindexes where [id]=object_id('tablename') and indid2 ...basically, you're querying the table that the query optimizer uses, asking for how many rows it thinks there are in the primary key.

    Nothing wrong with that not being accurate. It's much faster than counting every row, and if all you care about is whether there are less than 1,000,000 rows or something, it's fine. If you care about exact numbers, use count(*), which IS accurate on MySQL.

    -b

    --
    If I wanted a sig I would have filled in that stupid box.
  16. Re:Correctness isn't negotiable by jtcm · · Score: 4, Informative
    Sorry, but when MySQL developers tell me things like "count (*) is supposed to give you an estimate"

    To be fair to MySQL, that's only for tables of type InnoDB. MyISAM and other storage engines do return an accurate count. From here:

    InnoDB does not keep an internal count of rows in a table. (This would actually be somewhat complicated because of multi-versioning.) To process a SELECT COUNT(*) FROM t statement, InnoDB must scan an index of the table, which takes some time if the index is not entirely in the buffer pool. To get a fast count, you have to use a counter table you create yourself and let your application update it according to the inserts and deletes it does. If your table does not change often, using the MySQL query cache is a good solution. SHOW TABLE STATUS also can be used if an approximate row count is sufficient.

    It should be noted, though, that you have to use InnoDB tables for all those "modern" database features like transactional support* and foreign key constraints.

    It may be a bit of a bother, but it's not that hard to create the "counter table" for whatever it is you need to count. All the major DBs have something that's a pain in the ass...at least with MySQL you didn't have to pay for the pain.

    *BDB and NDB Cluster are apparently transaction safe as well, but I have no experience with them; and for whatever reason, they don't seem to be popularly used.

    --
    @ASP.NET's parent-teacher meeting: "Little Johnny.NET is very bright, but he doesn't play well with others."
  17. Re:Correctness isn't negotiable by SadButTrue · · Score: 3, Insightful

    I have a sneaking suspicion that you don't use heavily loaded databases often.

    count(*) against a table that is under heavy load and you get:
    1) the count when you issued the command, via a lock (table) and scan
    2) a secondary table/counter that gets updated automagicaly with each insert/delete commit

    mysql chooses number 2. why? Well by the time you can do anything with the results, the lock will be gone. The table will no longer be in the state it was when you asked. Good for you, you just wasted DB cycles because you want 'accurate' data.

    --
    grape - the GNU free, open source rape
  18. OMG by mitcharoni · · Score: 5, Informative

    This is THE most retarded review of modern database systems that I've ever read. From the moment I read the overview of MSSQL Express, I knew what the writer's opinion was going to be, and that was completely tilted in MySQL's favor. The basic descriptions of product feature were in most cases wrong. One would get the impression from this article that a major RDBMS would always allow dirty reads. And while it's true that you CAN do that, it is not the default behavior for any of them. It has to be explicity done and you have to go out of your way in your SQL code to make that happen.

    It's things like that where you just ultimately conclude that the writer(s) of this article just does not know what the hell he's talking about and doesn't have a basic understanding of the concepts or products under review. It's just more OSS nonsensical propaganda in my opinion. And don't fool yourselves into thinking that an article like this is going to change any IT manager's mind about what DBMS he's going to deploy in his enterprise.

  19. I love MySQL but... by Yonder+Way · · Score: 4, Insightful

    ...leaving out PostgreSQL was a glaring omission.

  20. Sick and Tired by vectorian798 · · Score: 4, Insightful

    I am so damn sick and tired of biased headlines and (often) even more biased comments. I know Slashdot is part of OSTG and all, but come on - it is beneficial to all concerned to be FAIR and unbiased. To compare MySQL to Oracle, DB2, or SQL Server is a joke. Anyone with half a hint of what they are talking about would know this. MySQL is only better for SMALL websites where speed is more of a deciding factor.

    In any case, even ignoring the fact that these are crippled versions of the real deal, this isn't even a proper test! Let's see what a REAL DB comparison looks like:
    Complete TPC-H Results List

    I know that MySQL and PostgreSQL aren't included in that result list but that is how a test SHOULD be performed, not with the ridiculously hand-wavy methods the authors use to 'score' each DB software.

    That being said, no one has any business saying MySQL >> DB2 or Oracle. That's a joke. MySQL would SUFFER in the 10TB test. Also, where is Teradata? Furthermore, the way that the article treats SQL Server is even more ridiculous, because their 'free' version is likely the least functional of the lot since it is SPECIFICALLY aimed at learning on one's own desktop. Nothing to see here, just a random useless article trying to say something to push its writers' ideas without much basis.

  21. like having my grandma rate sports cars by kpharmer · · Score: 5, Insightful

    The reviewers know databases about as well as my grandma knows sports cars. They seem to mean well, and admit that this comparison was complex and hard. In the end they were unfortunately over their head.

    PRODUCT SELECTION

    1. where's postgresql? This is the product that the commercial vendors need to be the most nervous about. Sure, they're loosing more low-end revenue to mysql right now, but postgresql is getting picked up by some big players. It is far more mature than MySQL, doesn't have the quality issues, isn't partially owned by Oracle, etc.

    2. where's at least a mention of all the various other solutions - from Firebird to Derby (Cloudscape)

    FUTURE PROOFING

    1. They mistakenly say that mysql doesn't require scaling up to enterprise versions like db2/oracle do. This is incorrect because mysql lags behind oracle & db2 for performance in many situations:
    - since it doesn't support query parallelism (which provides near linear performance improves to db2/oracle)
    - since it doesn't support partitioning (which can provide 10x performance improvements to db2/oracle)
    - since it doesn't have a mature optimizers (which means that queries with 5 table joins can tank)
    - since it lacks memory tuning flexibility
    Together this means that as your data increases you have to continue moving a mysql database to larger & larger hardware.

    In other words, if you need to scan a table with 10 million rows in it, then join that data against 6 other tables - db2/oracle can:
    - leverage partitioning so only scan 1mil rows or so instead of 10mil
    - split the scan across four cpus
    - leverage more efficiently tuned memory (ensuring little tables & indexes stay in memory)
    - use the best possible join
    and probably complete the query in 1/60th the time that mysql would take. And that means that you could get better performance from db2/oracle on a $25,000 four-way smp than from mysql on a $2,000,000 32-way.

    2. They fail to mention that Oracle now owns the most valuable parts of the MySQL solution (Innodb). Oracle has obviously purchased this component (which is how mysql supports transactions, pk/fk constraints, etc) in order to harm MySQL. Since there is no other viable replacement for Innodb the MySQL future is in serious doubt.

    3. They probably weren't aware that MySQL is the least ANSI-SQL compliant database in the market. This is means that porting mysql code to another database is a royal pain in the butt compared to code supporting postgresql, db2, etc. Though, to be fair, it is getting much better.

    LICENSING COSTS:

    1. mysql isn't necessarily free, and can cost more than the commercial alternatives for small distributed commercial apps

    2. db2 licensing only provided for DB2 Express- which is the low-cost 2-cpu model. That's often ok, hardly compares to Oracle standard edition also included. Also, I think they may have gotten their db2 costs mixed up between express & workgroup editions.

    CONCLUSIONS & MISC

    They mentioned some of the great mysql features like clustering and fault tolerance. Sorry, but mysql cluster solution is a separate telecom product that they purchased, that stores your data in memory - limiting your database size to however much memory you can afford. Not a practical solution for very many.

    The mysql fault tolerance is really just replication. That's sad.

    They mention one strength of mysql is their maximum database size of 64TB - which is nonsense, just because its internal registers and pointers can handle a theoretical maximum of 64TB doesn't mean that it would ever make sense to put more than 20 GB on it. DB2 & Oracle can go to 64TB, but today almost nobody is going beyond 10 TB just due to backup performance, cp

  22. its not my sqls job to gaurentee data integrity by Anonymous Coward · · Score: 4, Insightful

    this is why mysql is a joke

    http://dev.mysql.com/doc/refman/5.0/en/constraint- invalid-data.html

    " Before MySQL 5.0.2, MySQL is forgiving of illegal or improper data values and coerces them to legal values for data entry. In MySQL 5.0.2 and up, that remains the default behavior, but you can select more traditional treatment of bad values such that the server rejects them and aborts the statement in which they occur. This section describes the default (forgiving) behavior of MySQL, as well as the newer strict SQL mode and how it differs."

    " MySQL allows you to store certain incorrect date values into DATE and DATETIME columns (such as '2000-02-31' or '2000-02-00'). The idea is that it's not the job of the SQL server to validate dates. If MySQL can store a date value and retrieve exactly the same value, MySQL stores it as given. If the date is totally wrong (outside the server's ability to store it), the special date value '0000-00-00' is stored in the column instead."

    This is still a hobbiest toy.

    1. Re:its not my sqls job to gaurentee data integrity by Pxtl · · Score: 4, Insightful

      Because real enterprise apps aren't run on webhosting companies. THey're run on company-owned servers - colos at a bare minimum. And in that case, they don't use MySQL.

    2. Re:its not my sqls job to gaurentee data integrity by igb · · Score: 4, Insightful
      This may come as a surprise to you, but webhosting pretty much defines hobbyist. If something's running on a platform supplied and managed by a webhosting company, it's going to be a sole trader at best. Real enterprise applications are running on company-owned platforms either in colo or the company's own datacentre. And in that space, it's Oracle on Solaris as the default position.

      Sure, there's MySQL in production environments. If the task at hand is the configuration data for your cacti SNMP graphers, MySQL is perfectly fine. But for real, transactable data? If you're young, keen and besotted by OSS, Postgres might help you not get sacked. Not MySQL. Outside the OSS space, you'll find a lot of people who say ``why do we spend all that money on Oracle, I can knock it up in Access''. It's the same problem: a lack of understanding of what really defines an enterprise DBMS.

      ian

  23. Crippled Versions by Anonymous Coward · · Score: 5, Informative

    Actually, even the crippled versions of DB2, Oracle, and MSSQL still have the underpinings for advanced features that MySQL doesn't support. From real replication to actual performance monitoring (all three of the big guys provide detailed hooks into the guts of the DB) to support for multiple filegroups and indexes and databases spread across filegroups, the big DB's have features that are important but impact performance.

    SHOOT!! you want to see MySQL get its bum kicked on performance? Run a test on a filesystem against MySQL.

    Comparing performance among databases is only meaningful if all of the candidates have the features of which you need. MySQL has come a long way, and I use it in production every day, but this is kind of a silly comparison. The free versions of the big DB's are meant to provide an easy migration path to more feature-complete versions; if you use Sequel Server Express and want to upgrade to something that that supports clustering and log shipping, you may your money and get your features. With MySQL, if you outgrow it, you either need to start writing code, migrating to something else, or sitting on your hands waiting for it to get there.

    Recap, for those who won't RTFC and want to slag me: I like MySQL. I use it for mission critical purposes in production environments. However, comparing a simpler product's performance to (crippled versions of) more robust products is silly.

    Cheers
    -AC

    1. Re:Crippled Versions by Forge · · Score: 3, Insightful

      "However, comparing a simpler product's performance to (crippled versions of) more robust products is silly."

      Ohhmmm... They didn't compare performance at all.

      Just did a basic install and initial setup then ran with the feature list and compared price/alowed configs.

      The article basicaly confirms what I recomend (and you probebly do) anyway. I.e. If the Free product can do the job "corectly" (Catch all term for performance, reliability features etc...) there is no need for the $$$ databases.

      If however you need to do something that only a comercial database will alow you have to get that database.

      Most of my customers NEVER chose the databases they use. They chose a specific application then got that app vendor to spell out what database, OS and Hardware they recomend for this workload.

      --
      --= Isn't it surprising how badly I spell ?
  24. Re:Correctness isn't negotiable by GoofyBoy · · Score: 4, Insightful

    >The table will no longer be in the state it was when you asked.

    Yes, everyone who ever uses a database should know this already. Thats the whole purpose of transactions and consistancy.

    >Good for you, you just wasted DB cycles because you want 'accurate' data.

    vs. using DB cycles for inaccurate data?

    "Yes the result is wrong but look how many cycles we saved!"

    --
    The surprise isn't how often we make bad choices; the surprise is how seldom they defeat us.
  25. Cray by jbolden · · Score: 4, Funny

    Seymour Cray built a very succesful computer company on the idea of getting a wrong answer quickly.

  26. Its good enough for Google! by dbucowboy · · Score: 3, Interesting

    On http://xooglers.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

    --
    This just in! 3 out of 4 people make up 75% of the population.
  27. Re:I like MySQL, but...sigh by mr_z_beeblebrox · · Score: 4, Funny

    with crippled versions of said commercial products?

    The poster meant differently abled versions.

    Happy random day in December!

  28. I agree by toadlife · · Score: 3, Insightful

    I loved these zingers:

    "What Express does not include when compared to SQL Server SE and above is Analysis Services, Reporting Services, Data Transformation Services, and Notification Services but some users would argue that these features are crippleware anyway."

    Crippleware? What are the "some users" that argue this? The users that hate Microsoft? Also, DTS has been discontinued, and is not in any version of SQL Server 2005, so these guys obviously did not do their homework.

    "There is no denying that SQL Server Express is the weakest of the databases in this group but..."

    How exactly is there "no denying it"? Based on what is this claim made? Express isn't even designed for production use anyway...it aimed at developers and enthusiasts/students who want to learn their products.

    --
    I don't always use unix-like operating systems; but when I do, I prefer FreeBSD.
  29. The writer doesn't know his head from his ass by JDAustin · · Score: 5, Informative
    In describing SQL Server Express, he states

    SQL Server Express is one of two free databases we tested and is actually Microsoft's replacement for its earlier free offering the Microsoft Desktop Engine (MSDE) which was based on the old Access technology.


    This is utterly false.

    MSDE is based off SQL Server 2000, which itself a revision to SQL Server 7. MS Access has NOTHING to do with SQL Server (excpet proving nice single DB front ends via ADPs). When your dishonest (or just stupid) so early in a article, you loose your reader.
  30. Lab test? by heinousjay · · Score: 5, Informative

    Lab test? What test? This was a list of features from the product documentation. What a disingenuous title.

    --
    Slashdot - where whining about luck is the new way to make the world you want.
  31. A "Review" based on check-off charts? by darylb · · Score: 5, Insightful

    Give me a break. This guy has reviewed databases on the basis of features, with, as far as I can tell, not a single real performance evaluation in different kinds of applications (OLTP, DSS, data warehouse), data volumes, or query complexity.

    It gets better. In discussing Oracle, he explains: That is not to say the other databases serve up incorrect data but with some database engines when the workload is high, uncommitted data can be flushed from buffers to disk potentially creating a dirty read. MVRC also ensures that readers do not block writers and visa versa. HUH? I can't speak for EVERY database out there, but for most of them, you'd have to specifically set a "read uncommitted" isolation level to actually read dirty data. The majority of the databases would simply give a lock-and-block situation while the second reader waits for the writer to complete. Oracle's MVRC (and PostgreSQL's scheme) both prevent this lock-block situation. But, really, to say that this would potentially create a dirty read situation is just silly.

    He also didn't speak of Oracle's new Express Edition. Yeah, it's limited to 1 CPU and has a cap on its data volume, but you get all of Oracle's core features (including PL/SQL) for FREE.

    Nothing to see here, folks. Just move along.

  32. Australia now has DMCA by tepples · · Score: 4, Interesting

    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.

  33. Good freakin god by xant · · Score: 4, Insightful

    Can we get over mysql already? Even sqlite is a better, and faster, database now. It's ACID, which mysql is not: http://www.sqlite.org/lockingv3.html

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

    What does mysql offer any more that the other OSS databases don't? Is it just that it's the M in LAMP? I'm so tired of hearing about Mysql, and all the Mysql drama, when it's just a shitty database that has a lot of mindshare.

    --
    It's rare that you're presented with a knob whose only two positions are Make History and Flee Your Glorious Destiny.
    1. Re:Good freakin god by sootman · · Score: 4, Interesting

      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

      "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. Time to update your troll.

      --
      Dear Slashdot: next time you want to mess with the site, add a rich-text editor for comments.
  34. Horses for Courses by 16K+Ram+Pack · · Score: 5, Informative
    The article doesn't deal with some of the other strengths/weaknesses.

    If you want to distribute MySQL with your application to a customer, you have to pay a license fee. That means that for many people, MS SQL Express may be better.

    If I wanted to do some complex database logic, I'd probably consider MS SQL Express, as stored procedures on MySQL haven't been out there for long.

    If you are building a database to go on low-cost LAMP hosting, MySQL does the job well.

    For a piece of shareware requiring a small database, something like SQLLite is probably better than these options.

  35. Rigged test by d_jedi · · Score: 3, Insightful

    Comparing the free offering of SQL Server to the full version of mySQL is just about as biased a comparison as Microsoft's "Get the facts" campaign..

    --
    I am the maverick of Slashdot
  36. Uhh by CaptainZapp · · Score: 4, Insightful
    Enterprise software is very rarely sold shrink wrapped with an EULA. Usually the vendors sales people sit together with somebody senior from the procurement department and tries to squeeze as much money as possible from the purchaser.

    Those contracts (which usually go through some dunderhead in legal) are quite specific in what you can and can't do. For example: They may specify the number of seats, if and in what form the db may be connected to the internet, or even the business in which the product may be used for.

    Those are very much legal contracts and have (even though you may call it an EULA) not a helluvalot to do with shrink-wrap or click-through EULAs.

    --
    ich bin der musikant

    mit taschenrechner in der hand

    kraftwerk

  37. While everyone seems to agree by tweek · · Score: 4, Informative

    that this is a terrible review, there really isn't much option for the average site.

    Have you checked the licenses on Oracle for instance. If I remember correctly, the commercial license prevents publications of benchmarks without approval from Oracle.

    Having said that, if *I* were supreme overload of database comparisons, here's what I would do:

    - Decide on a reference hardware platform in both 32 and 64 bit. I would also include a non-x86_64 hardware platform such as pSeries. Of course this will limit the SQL Server tests but that's Microsoft's own choice.

    - Also decide on a common disk layout for the databases. Many commercial databases and even PostgreSQL will perform poorly out of the box on a flat disk layout. Seperate index, data and logs on unique volumes. If you decide to go RAID5 for any LUN, stick at least 6 disks under that LUN. RAID1 for log files. You also need to decide on which filesystem you want to use. This all of course determines which OS you use. I'm assuming Linux in this scenario. Most PostgreSQL recommendations I've seen recommend XFS on RAID10 but RHEL and SUSE don't include XFS support without going unsupported with the vendor in a kernel recompile.

    - Bring in a skilled DBA for each product. It shouldn't be too hard to find someone who wants to get published in his respective product.

    - Provide no OS tuning except the defaults recommended by the manufacturer of the database. OS tuning varies from vendor to vendor. Some suggest SHMMAX to be one setting while others suggest another number. You can't compare apples to apples when you've tuned I/O at 64k blocks for DB2 and 128K for Oracle (not that you would for either).

    - Test all workloads. You may notice that some vendors provide a different product configuration for DSS, OLTP and OLAP. Some vendors even provide a different version of the product for a specific workload.

    - Use the same DDL where possible. Really think about this for a moment. Alot of tests I've seen determine raw select, raw insert and raw update speeds but don't take into account the complex DDL that most business have. Take our layout for instance:

    1) We have an OLTP system.
    2) It also has a schema for OLAP that is populated by triggers from the OLTP tables.
    3) We load our warehouse off of the denormalized tables and also provide the OLAP functions within our application from those tables. (Our warehouse is updated each morning but we have a requirement in the application for realtime data for the current business day)

    Now with those above requirements, INSERT and UPDATE are going to perform much slower than what a raw benchmark would tell me and IMHO is much more indicative of real world design.

    - Note which "levers" you have available to pull. With DB2, I can put specific tables on different LUNs via tablespaces. I can also assign tables and indexes to different bufferpools. Quite honestly, I can't do any of that with MySQL (well with InnoDB I can via some symlink madness). I can accomplish the tablespaces option with PostgreSQL but not the unique bufferpools for certain tablespaces or indexspaces.

    - Also note what maintenance is required to actually keep the database performing. REORGs in DB2. VACs in PGSQL. I can update and insert 10mil rows to DB2/MYSQL/PGSQL but what happens when I need to go back and select out those rows? This leads to the next test:

    - Test the optimizer! This is probably the biggest thing for me. How does the optimizer determine which access path to take? What factors influence that? I would not intentionally write shitty SQL but developers aren't DBAs. They don't normally concern themselves with the BEST path or even the quickest path to the data as long as they get the data they need. Don't talk to me about OR functions or LEFT OUTER JOINs that I've seen spit out by ORM products or worse yet SELECT * and doing the logic in the application. Run EXPLAIN plans on all queries you're testing. In the end, the optimizer is the biggest factor in the database per

    --
    "Fighting the underpants gnomes since 1998!" "Bruce Schneier knows the state of schroedinger's cat"