Comparative Performance Analysis of Mysql and SQL Server Relational Database Management Systems in Windows Environment
Comparative Performance Analysis of Mysql and SQL Server Relational Database Management Systems in Windows Environment
I. INTRODUCTION resources and the fact that the project happens to use the
Repose is a Resort Management System designed for relational model in the database.
managing the records of a resort. It stores information of
the users and the resort, which includes services available
in the resort, room details, reservation details, et al.
Repose RMS is designed in such a way that the staffs as
well as the guests feel comfortable in using the software.
Repose RMS enables a guest to register themselves online,
as well as register through staff manually. The intention of
this project is to develop a software which is more user
friendly, and can be efficiently used by people in different
roles.
Business
Understanding
Performance Data
Analysis Collection
Deployment
Data Preparation
All four queries were executed five times with 3000 rows The first one was to remove the last 500 of 1500 rows and
and five times with 5000 rows. the next one to remove all remaining 1000 rows.
B. INSERT queries Both queries were executed five times and the average
On both MySQL and SQL Server, the average time to found out.
Copyright to IJARCCE DOI 10.17148/IJARCCE.2015.4339 3
ISSN (Online) 2278-1021
ISSN (Print) 2319-5940
0.1 0
0.09 0.0848
0.08
0.07
0.06
0.05 0.0445
0.04
0.03
0.02
0.01 0.0011 0.0011
0
MySQLMySQLSQLSQL
(3000(5000ServerServer
rows)rows)(3000(5000
rows)rows)
0.001
0.002
0.0017
0.0006
0.0015
0.0004
0.0011 0.0004 0.0003
0.001 0.0002
0.0002 0.0001
0.0005 0
MySQL MySQLSQLSQL
(1500(2000ServerServer
0 rows)rows)(1500(2000
MySQL SQL Server rows)rows)
Fig. 7: Averages for 100 INSERT queries Fig. 10: Averages for conditional UPDATE query
0.1 0.01
Time (in seconds)
0.016
8 1
0.09
Time (in seconds)
0.01
0.08 6
0.07 0.0655 0.01
4 0.008
0.06 8
0.01
0.05
2
0.04 0.01 0.002
0.002
0.03 0.0219 0.00 4 7
0.02 8
0.00 MySQL MySQLSQLSQL
0.01
6 (1500(2000ServerServer
0 0.00 rows)rows)(1500(2000
MySQLSQL Server 4 rows)rows)
0.00
Fig. 8: Averages for conditional DELETE query Fig. 11: Averages for
2 non-conditional UPDATE query
VII. CONCLUSION 0
The purpose of this paper is to analyse the performance of
two popular relational database management systems, BIOGRAPHIES
MySQL and SQL Server, in terms of time taken to
respond to requests. Sherin Joy is a PG scholar in the
Department of Computer Science, in Christ
The results show that SQL Server offers more University. She secured the first rank in her
performance than MySQL in terms of response time. In BSc degree. She was also awarded first
all the test cases, except INSERT queries, SQL Server class in International Chinthana
consistently took lesser time when compared to MySQL. Mathematics 2004-05. She lists Embedded
Systems and Database Systems as her academic interests.
MySQL also performed poorly in terms of scaling up.
MySQL shows a two-fold increase in time taken when the
number of rows go up. SQL Server also showed similar Dhondup Dolma was born in Tibet. She
results, but the increase in time taken wasn’t as great as earned her Bachelor's degree in Science
MySQL. (Physics, Mathematics and Computer
Science), and is currently pursuing her
The most striking difference in performance was in Master's degree in Computer Science from
SELECT statements. In Fig 3, we can see that the time Christ University. She lists Java and
taken by MySQL is two orders of magnitude more than Network Security among her academic interests as well as
SQL Server when dealing with 3000 rows. travelling and exploration as her passion.