Comparison of MySQL and MongoDB with focus on performance

Petr Filip, Lukás Cegan
{"title":"Comparison of MySQL and MongoDB with focus on performance","authors":"Petr Filip, Lukás Cegan","doi":"10.1109/ICIMCIS51567.2020.9354307","DOIUrl":null,"url":null,"abstract":"Almost every web application uses a database for storing data. Storing and retrieving data causes a delay between request to the system and its response. This has an impact on user-experience. The market offers many types of databases and each is more suitable for different types of applications. The main difference is in data-structures which are used for data storing. Data-structures directly influence the performance of the database system and all dependent systems. In this paper, an overview and brief comparison of four types of NoSql databases has been made. Next, benchmark comparing performance of MongoDb and MySQL in different situation are discussed. Benchmarks are focused on operations such as inserting, updating, and deleting data with transactions and without transactions. The added value of the benchmarks is evaluated in terms of cost of indexed fields in the abovementioned situations.","PeriodicalId":441670,"journal":{"name":"2020 International Conference on Informatics, Multimedia, Cyber and Information System (ICIMCIS)","volume":"15 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2020-11-19","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"4","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2020 International Conference on Informatics, Multimedia, Cyber and Information System (ICIMCIS)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICIMCIS51567.2020.9354307","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 4

Abstract

Almost every web application uses a database for storing data. Storing and retrieving data causes a delay between request to the system and its response. This has an impact on user-experience. The market offers many types of databases and each is more suitable for different types of applications. The main difference is in data-structures which are used for data storing. Data-structures directly influence the performance of the database system and all dependent systems. In this paper, an overview and brief comparison of four types of NoSql databases has been made. Next, benchmark comparing performance of MongoDb and MySQL in different situation are discussed. Benchmarks are focused on operations such as inserting, updating, and deleting data with transactions and without transactions. The added value of the benchmarks is evaluated in terms of cost of indexed fields in the abovementioned situations.
MySQL和MongoDB的性能比较
几乎每个web应用程序都使用数据库来存储数据。存储和检索数据会导致对系统的请求和响应之间的延迟。这对用户体验有影响。市场上提供了许多类型的数据库,每种数据库更适合不同类型的应用程序。主要区别在于用于数据存储的数据结构。数据结构直接影响数据库系统和所有依赖系统的性能。本文对四种类型的NoSql数据库进行了概述和简要比较。接下来,对MongoDb和MySQL在不同情况下的性能进行了基准比较。基准测试关注的是诸如使用事务和不使用事务插入、更新和删除数据之类的操作。在上述情况下,根据索引字段的成本来评估基准测试的附加价值。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信