• subscribe
February 24, 2005 12:00 AM

The Debate About Open-Source Databases

SQL Server Pro
InstantDoc ID #45499

Does it make sense to consider using an open-source database? More to the point, does it make sense to choose an open-source database instead of SQL Server when cost is your primary concern? Interesting questions—I want to share some insights. I touched on this topic in my previous commentaries "In the Express Lane with SQL Server" and "MSDE: Get More than You Pay For". I want to revisit the topic because I've been reading some articles in the mainstream press about open-source databases such as MySQL or Ingres and how they compare favorably to database solutions that you have to pay for.

Let me set the stage for this discussion. Imagine that you're planning a new application rollout. You use Microsoft technology regularly (but not exclusively), and SQL Server is on the short list of database platforms you're considering, but price is a significant factor. Let's assume that up-front cost to purchase is the only thing that matters—of course, that's not true, but I want to keep the discussion simple. MySQL, Ingres, or any other free, open-source database can look attractive if up-front license costs are your primary concern. Can Microsoft play in that game? The short answer is probably. (Don't you love a journalist who's willing to go out on a limb with a definitive opinion? <g>) Microsoft SQL Server Desktop Engine (MSDE) is a viable free option in many scenarios when you can roll out a free, open-source database. However, there are some caveats to that statement. First, MSDE isn't completely free, but buying a single license for any product that MSDE comes with (e.g., Microsoft Access) gets you free redistribution rights for MSDE's core pieces. You can build an application and distribute it to an infinite number of users for free. To read more about how to get and distribute MSDE, see "Register for MSDE 2000 Redistribution Rights". Second, the Query Governor prevents MSDE from scaling to meet your high-end database needs. However, if you're worrying about high-end databases, it's likely that a completely free open-source database probably won't meet your needs either.

Now, let's talk about the options that will exist in a few months when SQL Server 2005 ships and SQL Server 2005 Express Edition becomes commercially available. SQL Server Express is the new version of MSDE that's part of the SQL Server 2005 product family. Yes, it's cheating to compare current open-source products to software from Microsoft that's not commercially available yet, but I'm doing it anyway. SQL Server Express will be totally free—no caveats. The product's only limitation will be that it won't use more than one physical processor—though the OS it's running on can certainly use more. However, you'll get more CPU juice on a multi-processor box with hyper-threading because SQL Server Express will use the additional logical processor that hyper-threading provides. Maximum database size is 4GB, and the buffer pool for SQL Server memory is limited to 1GB.

Are there open-source databases that will provide you with more theoretical scalability? Yes, but if you're running an application that requires more processing capabilities than a free version of SQL Server Express there probably isn't a free lunch for you. You'll pay whatever vendor you end up working with for that database processing one way or another. But SQL Server Express will present an honest-to-goodness free option for a huge number of small departmental database application needs.

You can put together staged benchmarks that showcase circumstances in which a free, open-source database can do things that MSDE or SQL Server Express can't. However, I suspect that most users who can benefit from a free, open-source database can also benefit from a free version of MSDE or SQL Server Express. I sense that some people look to open-source databases because they don't consider a free version of a Microsoft database as a viable candidate. I'm not saying that it's the best solution in all cases—there are cases in which an open-source database provides more bang for your buck, but it's unfortunate when customers think they need a free solution and wrongly assume that Microsoft doesn't have any story to tell in the database arena.



ARTICLE TOOLS

Comments
  • Anonymous User
    7 years ago
    Mar 18, 2005

    Let's be clear about this, none of these Opensource rdbms offerings will be free in the long-term. There are support costs to consider.
    However, the author made clear that support costings were outside the scope of this discussion.

    To add to the last contributor's note; CA's Ingres r3 offering is free - unlike MySQL, anyone who embeds Ingres into their application does not have to release their application code into the public domain.

    If we are going to look at the longer term costs, CA's full production support for Ingres r3 is from $2000 per year.

  • Anonymous User
    7 years ago
    Mar 17, 2005

    I wish everyone would stop calling MySQL "free"! Take a look folks. That went away last year. Unless you are willing to make the source code for your application available to the world, and how many businesses would, you have to pay $595 PER YEAR PER SERVER. That's a waste of money for many small businesses. MSDE is free. SQL Express 2005 is free. Firebird is free. Postgre is free. I'll stick with one of those. The author's point is that Microsoft is starting (I emphasize starting) to get serious about the open source competition. Now if they would only wake up to the fact that they aren't even close to competing in high availability realm, they might have something.

  • Anonymous User
    7 years ago
    Mar 08, 2005

    Hmm, we seem to have a religious argument emerging:

    Argument A - Hallelujah and praise the wizard of Redmond for he will deliver solutions to all of your needs. You need only embrace the .Net way and a few non-standard SQL extensions. It's free for the first 4mb and quite a bargain after that. Never waste time on problems that you don't have to solve again. Let Bill make all of your decisions for you.

    Argument B - Dude, have you not opened yourself to the Source of all that is free? No royalties means free, free, free. Don't concern yourself with how you'll pay for support or solve your technical issues in a timely manner. The Source shall provide all and it's free. Oh, and as an accolyte of the Source, you're entitled to spend years of your life modifying it your way.

    Argument C - I'm a professional so it means I know something therefore so the best choice is going to be the one I say it is. Why it's such a good choice that it must be the right choice in every situation. In fact, I'll never make the other choice again. Why waste time evaluating each new situation on it's own merits? I'll just blindly choose the same thing every time. After all, it's better, right?






  • Anonymous User
    7 years ago
    Mar 08, 2005

    The article actually makes clear that SQLServer free stuff cannot yet compete, but will be able to compete "in a few months".
    Let's go ahead and play the author's game of 'Yeah But We'll Be Better Soon' because he does also admit "it's cheating to compare current open-source products to software from Microsoft that's not commercially available yet, but I'm doing it anyway".
    So what are the limits of the not-yet-GA SQL Server 2005 Express Edition?
    1 CPU.
    Maximum DB size 4Gb
    Memory limit 1Gb.

    Do we really have to consider this offerering as viable? It is not uncommon for a database to contain individual tables larger than 4Gb. Even for small-scale users, MySQL would beat this hands-down. Ingres would beat this without breaking sweat - The Ingres r3 (OpenSource) offering is not a scaled down version of the product.

    The article does imply that OpenSource is inferior to SQLServer.
    "You can put together staged benchmarks that showcase circumstances in which a free, open-source database can do things that MSDE or SQL Server Express can't".
    We should also add 'SQLServer' to the list. The author seems to believe that SQL/Server would win all benchmarks against all OpenSource databases.
    Let's face it. The OpenSource stuff isn't slow, it isn't difficult to use, it's not limited to running on Windows and it has great scalability.

    Why not offer a more honest argument? Such as:
    Many companies will be afraid to move from their existing SQL/Server architecture because although it's expensive and it's sometimes slow and unreliable, it's better the devil you know.

  • Anonymous User
    7 years ago
    Mar 05, 2005

    Let us not be too quick to judge. Certainly the article only presents one view; that MSDE is competitive with Open Source on the issue of price. Certainly that article does not discuss other aspects of the Open Source debate such as support options, time to market, resolution of issues, availability of developers, interoperability with other tools and components, and much else. This is unfortunate. However, just because the article is narrow in focus does not translate to Open Source is better either. It just means the article is narrow in focus.

    Also, I do not see where the article says that Open Source is inferior. The only real claim the article makes is that MSDE can compete with Open Source on an up-front cost basis.

You must log on before posting a comment.

Are you a new visitor? Register Here