Advantages And Disadvantages To Using MySQL Vs MS SQLAdvantages And Disadvantages To Using MySQL Vs MS SQL

Two of the most popular database systems used by web developers today are MySQL and Microsoft's MS SQL server. Both are similar in regards to being storage and retrieval systems. The two systems support primary keys, along with key indices which allow you to speed up queries and constrain input. Furthermore, both systems offer some form of support for XML.

Apart from price, which is the obvious difference, what distinguishes these two systems, and which one is right for you? We'll overview both products, point out the major differences and explain the advantages and disadvantages of using them for your business.

Open-source vs. Proprietary

When it comes to these two databases, the differences begin with the open-source nature of MySQL vs. the closed, proprietary structure of the SQL Server. MySQL is an extensible, open storage database engine, offering multiple variations such as Berkeley DB, InnoDB, Heap and MyISAM. On the other hand, with the Microsoft product, you are limited to a Sybase-derived engine through both the good and bad times.

When considering how MySQL integrates seamlessly with a number of programming languages and other web-based technologies, it certainly has the advantage over MS SQL in the way of compatibility, as the SQL Server is known to work better with other Microsoft products.


Contrary to popular belief, the MySQL system isn't always free. On the other hand, it is always more affordable. In regard to both products, licensing fees are based on a two-tiered scheme. With MS SQL, the best way to obtain a developer's license is to buy a license for the Microsoft Developer or Microsoft Visual Studio suite. Both provide you with a free SQL Server license for development use. If you want to use the product in a commercial environment, you need to at least purchase the SQL Server Standard Edition - which could set you back over $1,000 for a few client connections.

Because MySQL is an open-source system under the GNU General Public License, developers can use it at no cost as long as the associated projects are also open-source. However, if you intend to sell your software as a proprietary product, you would need to purchase a commercial license, which costs about $400 for up to nine clients. Depending on the project and your funds, MySQL may have the advantage here.

Technical Differences

The open-source vs. proprietary battle alone is a leading cause why some users choose one system over the other. However, there are a few differences from a technical aspect as well.

For instance, MySQL doesn't offer full support for foreign keys, meaning it doesn't have all the relational features of MS SQL, which is considered a complete relational database. Some versions of MySQL also lack full support for stored procedures - the biggest disadvantage being the MyISAM system, which doesn't support transactions.


In the way of performance, MySQL is the clear leader, mainly due to the format of its default table, MyISAM. MyISAM databases leave a small footprint using little disk space, memory and CPU. While the system runs on the Windows platform without flaw, it tends to perform better on Linux and other UNIX-like systems. Because of its stability, many internet powerhouses such as Yahoo! use MySQL as their back-end database.

When it comes to performance, MS SQL's strength of being packed with more features than other systems is perhaps its biggest disadvantage. Although most of these features are designed for performance tuning, they tend to sacrifice other essential elements. The cost here is complexity and the hogging of resources in the way of storage and memory, which leads to poorer performance. If you lack the knowledge and sufficient hardware to support an SQL server, you would be better off with another database management system.


These two database systems are pretty much deadlocked in regards to security. Both come with adequate security mechanisms by default, bearing you follow the directions and keep the software updated with security patches. Both operate over known IP ports which unfortunately attracts a wealth of intruders, a downside that can be attributed to both products. The good thing is that MySQL and MS SQL allow you to change ports just in case the default becomes too vulnerable.


As far as recovery goes, the SQL Server has a definite advantage over MySQL, which tends to fall a little short with its MyISAM configuration. A UPS system is mandatory with MyISAM as it assumes uninterrupted operation. If a power outage should occur, it could result in the corruption and loss of critical data. With the SQL Server, data corruption is more unlikely. The data travels through various checkpoints while passing from your keyboard to the hard disk and through the monitor. Additionally, the SQL Server keeps track of the process, even if the system unexpectedly shuts down.

The Best Choice

As you can see, both systems have their advantages and disadvantages. From our perspective, any product that allows you to be efficient is a good database; anything other than that isn't worthy of your time and frustration. When it comes to MySQL and MS SQL, the decision all boils down to the situation and most importantly, what you're looking to accomplish.

by Adam Hobach
References and Bibliography

Adam Hobach is a Network Engineer with "". You can learn more about "Web Hosting" services online at

© 2008 CyberLynk Network Inc. You may reprint this article online and in print provided the links remain live and the content remains unaltered (including the "Author Biography").

Rated:NR/0 Votes
Add To My Article Reading List
Add To My Article Reading List
Print Article
More Article By Adam Hobach
More Article by Adam Hobach
More Articles From MySQL
More Articles From MySQL
Related Articles and Readings
Choose a VPS Server Over a Shared Server By: Joe R. Maldonado
A VPS server is now considered to be the sensible alternative to higher priced dedicated servers, and even the low cost shared servers With a VPS you can have all of the advantages that a dedicated server offers while you run on ...
The Benefits of Having a VPS Server Over a Dedicated Server By: Joe R. Maldonado
There are many benefits of having a VPS server over a dedicated server It used to be that a dedicated server was the only alternative to a ...
What to Look For When Upgrading Your Server By: Derek Rogers
Upgrading a server is never easy There are a number of legitimate reasons for actually doing it however, and these are certainly reasons that should not be dismissed too ...
Exchange 2003 RPC Over HTTP By: Scott Croucher
The release of Exchange 2003 bought us some very good features such as Intelligent Message Filtering (IMF) and my favourite RPC over HTTP. This allows a user to access email using their outlook client without the use of VPN's or dial up networking. For me this feature has been a ...
Top 5 Webmaster Tools You Can Pick Up For Pennies By: David Deprice
1. SiteSpinner V2 - On Sale is a user-friendly web site development tool that includes many advanced features such as drag-and-drop positioning, built in FTP to publish directly to your web site, an image editor and graphics creation all in one.2. Codelock 2.0 - On Sale encrypts PHP ...
The information provided in this article and/or the comments is the sole responsibility of their respective authors and does not necessarily reflect the opinion of  does not endorse any article and/or comments published by our web users unless otherwise noted. 

Member Panel

login to submit articles and more


  • » Active Categories: 419
  • » Active Articles:252603
  • » Active Authors:31917
  • » Active Members: 38237
  • » Statistics Updated:
    - Tue Sep 1st, 2020 09:28AM EST