Professional Documents
Culture Documents
SQL Server 2012 Compared With Mysql 5 White Paper Apr2012
SQL Server 2012 Compared With Mysql 5 White Paper Apr2012
Copyright
The information contained in this document represents the current view of Microsoft Corporation
on the issues discussed as of the date of publication. Because Microsoft must respond to
changing market conditions, it should not be interpreted to be a commitment on the part of
Microsoft, and Microsoft cannot guarantee the accuracy of any information presented after the
date of publication.
This document is provided "as-is." Information and views expressed in this document, including
URL and other Internet Web site references, may change without notice. You bear the risk of
using it.
This white paper is for informational purposes only. MICROSOFT MAKES NO WARRANTIES,
EXPRESS, IMPLIED, OR STATUTORY, AS TO THE INFORMATION IN THIS DOCUMENT.
Complying with all applicable copyright laws is the responsibility of the user. Without limiting the
rights under copyright, no part of this document may be reproduced, stored in, or introduced into
a retrieval system, or transmitted in any form or by any means (electronic, mechanical,
photocopying, recording, or otherwise), or for any purpose, without the express written
permission of Microsoft Corporation.
Microsoft may have patents, patent applications, trademarks, copyrights, or other intellectual
property rights covering subject matter in this document. Except as expressly provided in any
written license agreement from Microsoft, the furnishing of this document does not give you any
license to these patents, trademarks, copyrights, or other intellectual property.
Microsoft & SQL Server are trademarks of the Microsoft group of companies.
Contents
Executive Summary ................................................................................................................... 4
Product Editions ......................................................................................................................... 5
SQL Server 2012 .................................................................................................................... 5
MySQL 5 ................................................................................................................................ 5
Feature Comparison .................................................................................................................. 5
Engine .................................................................................................................................... 6
Enterprise Features ................................................................................................................ 8
Security .................................................................................................................................10
Tools .....................................................................................................................................10
Data Warehouse, Business Intelligence, and Big Data ..........................................................12
Conclusion ................................................................................................................................13
References: ..............................................................................................................................14
Executive Summary
SQL Server 2012 has better features than MySQL in the categories of engine, enterprise,
security, tools, data warehouse, business intelligence, and big data. Although customers can
download MySQL for free, Oracle highly recommends customers to purchase expensive
software support for all MySQL editions for production and that might increase the Total Cost of
Ownership (TCO) in implementing MySQL.
Moreover, there are also well-known inherent issues of security that come with open source
software development as it is typically done by members of the open source community, which
is made up of volunteers, including (but not limited to):
Introduction of bugs into software. For MySQL, many community developers contribute
to the source code. Bugs can easily be introduced into the product if the skill level of
developers is not known or cannot be guaranteed. However, commercial software
companies like Microsoft ensure that developers have the appropriate skill level to
contribute to their products. Most recently, MySQL (part of Oracle) has failed its high profile
customer Zappos.com which uses MySQL Enterprise. The web site was hacked and
becoming the largest data breach ever where 24 million account information was accessed
by hackers.
Response to security threats. Microsoft has teams of engineers who are responsible for
doing nothing but responding to security threats and patch is made available almost
immediately should a vulnerability be exposed. As the result, SQL Server has the least
amount of security vulnerability among database products in the last 10 years according to
NIST. On the other hands, MySQL has more security vulnerabilities in the last 10 years and
Oracle continues to release many MySQL patches every quarter. Most recently, Oracle
released 27 patches for MySQL in one day.
In fact, MySQL public web site mysql.com has been targeted and was hacked multiple times in
the past year alone where username and password were exposed in public web site. As
database breaches become more catastrophic to businesses, MySQL is becoming more
vulnerable and customers need to understand the risks when evaluating MySQL in production
environment.
While there are few positive aspects of MySQL 5, this paper shows that SQL Server 2012 is the
clear choice for all aspects of businesses and all types of applications, including those that are
the most mission-critical that requires highest performance, scale, high availability, security,
manageability, as well as ability to make better business decisions based on data.
Product Editions
SQL Server 2012
Microsoft SQL Server 2012 is a cloud-ready information platform that will help organizations
unlock breakthrough insights across the organization and quickly build solutions to extend data
across on-premises and public cloud, backed by mission critical confidence.
Small, mid-sized, and enterprise customers can all benefit from SQL Server 2012. Regardless
of budget or business requirements, there is an appropriate edition of SQL Server 2012. One of
the major advantages of having multiple editions is that they are all produced using the same
database engine:
Enterprise for mission critical applications and large scale data warehousing
Business Intelligence, a new product edition, providing premium corporate and self-service
BI
MySQL 5
MySQL 5 (including the latest 5.5) is available in multiple editions which contain all the core
features (except Cluster edition) described later in this paper:
Community, for free download version under GPL license v2 that is fully controlled by
Oracle but does accept patches from the community.
Oracle charges support for commercial edition of MySQL. On the high-end, MySQL does not
contain many of the enterprise-level features required to run highly available, mission-critical
applications, such as AlwaysOn, clustering, and online operations. The major features
supported in MySQL are outlined in the next section.
Feature Comparison
Because of the large number of features in both SQL Server 2012 and MySQL 5, the
comparison of each is broken into the following categories: engine, enterprise, security, tools,
data warehouse, business intelligence, and big data.
Engine
The engine in a database system is the core technology that processes data. The engine
handles all inserts, updates, deletes, and selects from the database, as well as optimization,
indexing, and all other base-level processing supported by a database technology. The
comparison of engine features is shown in Table 1.
Feature
MySQL 5.5
Comments
Automatic
Tuning
Cascading
Referential
Integrity
Indexed
Views
Multiple
Instances
Multiple
Languages
Rules
Stored
Procedures
Transactions
Triggers
Feature
MySQL 5.5
Comments
as the changing of data in a table.
User-defined
Functions
User-defined
Data Types
Views
UPSERT logic
Sequence
object
Parallel Query
Distributed
Federated
Query
Database
Links
Native XML
Support and
XML
processing
Available at
no cost
Crossplatform
support
Multiple row
data storage
strategy
Service
Broker
Feature
MySQL 5.5
Comments
applications.
Full-Text
Searching
Index
Organized
Table
Filtered
Indexes
Persisted
Computed
Column
FileTable
Hierarchical
Data Type
XEvents
CLR
Integration
Integrated
Database Mail
Enterprise Features
Enterprise Features refers to more advanced capabilities that are needed in a medium or large
enterprise. These features are not typically used in a small business. SQL Server 2012 clearly
excels in its enterprise features. The comparison of enterprise features is shown in Table 2.
Feature
MySQL 5.5
Comments
64-Bit Support
Distributed
Feature
MySQL 5.5
Comments
Partitioned
Views
databases.
Failover
Clustering
AlwaysOn
Log Shipping
Replication
Multi-device
support
Advanced
Compression
Online
Backups
SAN Support
Complex
Event
Processing
Data Quality
Master Data
Management
Hot Add
Memory &
CPU
Online
Schema
Change
Resource
Governor
Security
Security is at the forefront of everyones mind. SQL Server 2012 has better built-in advanced
security features. The comparison of security features is shown in Table 3.
Feature
MySQL 5.5
Comments
Active
Directory
Support
Role-Based
SSL
Encryption
Stored
Procedure
Security
Table Security
View Security
Auditing
Transparent
Data
Encryption
Centralized
Key
Management
Tools
Tools in a database system allow it to be managed in an easy and efficient manner. SQL Server
has much more built-in database tools and excels in its ability to manage one or more SQL
Servers. The comparison of tools features is shown in Table 4.
10
Feature
Comments
Centralized
Administration
Integrated
SQL
Debugger
Profiler
Graphical
Query Tool
Database
Tuning
Advisor
Distributed
Replay
Graphical
Wizards
Graphical
Activity
Monitor
Central
Management
Servers
SQL Server
Utility
Manage
servers using
Policy
Maintenance
Plan Wizard
11
Feature
Comments
Dedicated
Administrator
Connection
Data-tier
Application
MySQL 5.5
Comments
Bitmap Index
Joins
Common
Table
Expressions
xVelocity inmemory
column store
index
Change Data
Capture
Data
Warehouse
Alliance
Data
Warehouse
Reference
Architectures
12
Feature
MySQL 5.5
Comments
Data
Warehouse
Appliances
Integration
Services, also
known as
Extract,
Transform,
and Load
(ETL).
High Speed
Drivers
Analysis
Services
(OLAP)
Data Mining
Text Mining
English Query
Reporting
Services
PowerPivot
Big Data
Support
Table 5: Comparison of Data Warehouse, Business Intelligence, and Big Data Features.
Conclusion
SQL Server 2012 excels in numerous ways compares to MySQL 5. SQL Server 2012 contain
many more features than MySQL 5 in the categories of engine, enterprise, security, tools, data
warehouse, business intelligence, and big data. Therefore, SQL Server is the clear choice for all
aspects of businesses and all types of applications, including those that are the most missioncritical.
13
References:
SQL Server Web Site http://www.microsoft.com/sqlserver/en/us/default.aspx
MySQL Web Site http://www.mysql.com/
Did this paper help you? Please give us your feedback. Tell us on a scale of 1 (poor) to 5
(excellent), how would you rate this paper and why have you given it this rating? For example:
Are you rating it high due to having good examples, excellent screen shots, clear writing,
or another reason?
Are you rating it low due to poor examples, fuzzy screen shots, or unclear writing?
This feedback will help us improve the quality of white papers we release.
Send feedback.
14