SlideShare a Scribd company logo
1 of 25
Today 26th
April 2016
1
 Introduction
 Relational
 Non-Relational
 MongoDB
 MySQL
 STS Soft SC Benchmark
 Result and Analysis
 Conclusion
 References
2
3
While traditional relational databases are still used in a large scope of
applications, we have seen recently an explosion in the number of a new
data bases technologies developed in particular for Big Data serving.
Currently the main alternatives to RDMBS are NoSQL databases.
The primary focus of this thesis is to compare and evaluate a
NoSQL(MongoDB) and SQL(MySQL) databases in terms of response time
while performing write, read, and secondary read operations and answer
the question of whether one perform better than the other.
The NoSQL databases were created as a mean to offer high availability at
the price of losing the ACID (Atomic, Consistent, Isolated, Durable)
guarantees of the traditional databases in exchange with keeping a weaker
BASE (Basic Availability, Soft state, Eventual consistency) feature
4
The idea of the relational model presented by Codd in 1970,
where the relational model emphasized on the idea of
organizing data in the form of two-dimensional table,
"relationships"
SQL is a programming language for special purposes have
been designed to manage data in a relational database
management system.
5
 The NoSQL database is a whole new approach to manage
data for very large sets of distributed data.
 The data created today is so large and complex it is very
difficult to process in traditional RDBMS.
 NoSQL is widely used for exploring big data. Many Internet
giants, such as Amazon Dynamo, Google BigTable,
LinkedIn Voldemort, Twitter FlockDB and Facebook
Cassandra
6
7
MongoDB is an open source non-relational document
oriented (NoSQL) database management system
designed by MongoDB.
In MongoDB the objects are represented by documents
(with JSON like format). The documents with the same
characteristics/properties are grouped together in a
collection. Data in MongoDB has a flexible schema.
Unlike relational databases, MongoDB’s collections do
not enforce document structure.
8
 MySQL was included as a baseline to represent conventional
RDBMS performance. MySQL, the second most widely used
RDBMS in the world, has been covered heavily in prior
literature and will be left to the reader to pursue.
 MySQL is a commercial relational database management
system designed by Oracle. In order to capture the semantics
of the database, the data (objects) in SQL is represented by a
table (schema).
 The objects with the same number of properties, type and
format are grouped together in a table with a column for each
property, making it structured data. Each row in such a table
represents a different object.
9
MongoDB
Adobe: uses Mongodb to store petabytes of data.
 e-bay uses mongodb in the search suggestion.
Linkedln uses mongo as its backend DB
MySQL
Booking.com: one of Europe's online hotel travel
reservation agency
Telenor
Friendstar
Motorola
10
mysql mongodb
Tables and rows Collection of JSON
Column Field
Join operation Embedded document
Sql Mongodb quering language
Table and column required No define schema
Select*from user Db.user.find()
11
The benchmarks to collect performance results were run
using the STS Soft SC version 3.0.0.
STS Soft Database Benchmark is an open source tools
designed to stress test database indexing technologies with
large data flows.
The test engine of Database Benchmark performs three
tests:
Write
Read
Secondary Read
12
13
The benchmark results analyzed here reveals how
the two databases respond to write, read and
secondary read operations in terms of INSERT
and READ.
As mentioned earlier, the primary method of
analyzing the results is through a graph, the time
taken to complete an operation.
The graph is plotted against the varied number of
INSERTED records and READ the records.
14
15
Records MongoDB Write Time(s) MySQL Write Time(s)
 
100
0 94
 
50000
14 103
 
100000
18 105
 
200000
49 109
 
300000
77 119
 
1000000
259 166
 
2000000
508 227
 
3000000
674 278
 
4000000
922 316
 
5000000
1064 415
 
       
16
17
Records MongoDB Read Time(s) MySQL Read Time(s)
 
100
0 0
 
50000
0 1
 
100000
4 2
 
200000
10 4
 
300000
13 5
 
1000000
47 70
 
2000000
87 133
 
3000000
114 570
 
4000000
151 882
 
5000000
163 1050
 
       
18
Records MongoDB Secondary Read
Time(s)
MySQL Secondary Read Time(s)
 
100
0 0
 
50000
1 0
 
100000
4 2
 
200000
10 4
 
300000
12 5
 
1000000
46 53
 
2000000
88 114
 
3000000
114 614
 
4000000
140 839
 
5000000
170 1079
 
       
19
20
Records MongoDB Size in (MB) MySQL Size in (MB)
100
0 0
50000
13.5 3.4
100000
27.1 6.8
200000
54.1 13.6
300000
82.5 20.4
1000000
273.2 68.1
2000000
546.3 130.1
3000000
819.2 201.1
4000000
1092.4 272.1
5000000
1370.1 340.1
     
21
22
The experiments performed in the project tested and
compared how each of the three databases responded to
operation loads per time. The operations used in analyzing
the performance and scaling abilities were WRITE and
READ operations.
The times spent by each database to complete different
magnitude of the operations were recorded. The
measurements and charts presented in the experiment
revealed MongoDB’s READ performance advantage over
MySQL in both read and secondary operations due to its
simple and flexible schema, which made it cope faster with
queries.
23
 [1] Berg K., Seymour T., and Coel R. History of Databases. International
Journal of Management and Information Services, 17, 2013
 
 [2] IBM. Big data: Why it Matters to The Midmarket.
http://http://www.ibm.com/midmarket/us/en/article_BusinessAnalytics4_121
2.html.
 
 [3] Jatana N., Puri S., Ahuja M., Kathuria I., Gosain D., (2012), “A Survey
and Comparison of Relational and Non-Relational Database”, International
Journal of Engineering Re-search & Technology (IJERT), vol. 1, no. 6, pp.1-
5.
 [4] Beynon-Davies P. Database Systems. Palgrave Macmillan, 3rd
edition.
 
 [5] Cory Nance, Reenu Iype, Travis Losser and Gary Harmon. NOSQL
VS RDBMS - WHY THERE IS ROOM FOR BOTH. In Proceedings of the
Southern Association for Information Systems Conference, paper 27, SAIS,
2013
24
THANK YOU
25

More Related Content

What's hot

Databricks Fundamentals
Databricks FundamentalsDatabricks Fundamentals
Databricks FundamentalsDalibor Wijas
 
NoSQL databases - An introduction
NoSQL databases - An introductionNoSQL databases - An introduction
NoSQL databases - An introductionPooyan Mehrparvar
 
The Evolution of SQL Server as a Service - SQL Azure Managed Instance
The Evolution of SQL Server as a Service - SQL Azure Managed InstanceThe Evolution of SQL Server as a Service - SQL Azure Managed Instance
The Evolution of SQL Server as a Service - SQL Azure Managed InstanceJavier Villegas
 
Data weekender4.2 azure purview erwin de kreuk
Data weekender4.2  azure purview erwin de kreukData weekender4.2  azure purview erwin de kreuk
Data weekender4.2 azure purview erwin de kreukErwin de Kreuk
 
Data Modeling on Azure for Analytics
Data Modeling on Azure for AnalyticsData Modeling on Azure for Analytics
Data Modeling on Azure for AnalyticsIke Ellis
 
Introduction to NoSQL Databases
Introduction to NoSQL DatabasesIntroduction to NoSQL Databases
Introduction to NoSQL DatabasesDerek Stainer
 
Slides: Relational to NoSQL Migration
Slides: Relational to NoSQL MigrationSlides: Relational to NoSQL Migration
Slides: Relational to NoSQL MigrationDATAVERSITY
 
SQL Server 2019 Master Data Service
SQL Server 2019 Master Data ServiceSQL Server 2019 Master Data Service
SQL Server 2019 Master Data ServiceKenichiro Nakamura
 
Quantitative Performance Evaluation of Cloud-Based MySQL (Relational) Vs. Mon...
Quantitative Performance Evaluation of Cloud-Based MySQL (Relational) Vs. Mon...Quantitative Performance Evaluation of Cloud-Based MySQL (Relational) Vs. Mon...
Quantitative Performance Evaluation of Cloud-Based MySQL (Relational) Vs. Mon...Darshan Gorasiya
 
Knowledge Representation, Semantic Web
Knowledge Representation, Semantic WebKnowledge Representation, Semantic Web
Knowledge Representation, Semantic WebSerendipity Seraph
 
Introducing Azure SQL Data Warehouse
Introducing Azure SQL Data WarehouseIntroducing Azure SQL Data Warehouse
Introducing Azure SQL Data WarehouseJames Serra
 
SQL Server Versions & Migration Paths
SQL Server Versions & Migration PathsSQL Server Versions & Migration Paths
SQL Server Versions & Migration PathsJeannette Browning
 
Data Mesh at CMC Markets: Past, Present and Future
Data Mesh at CMC Markets: Past, Present and FutureData Mesh at CMC Markets: Past, Present and Future
Data Mesh at CMC Markets: Past, Present and FutureLorenzo Nicora
 
An architecture for federated data discovery and lineage over on-prem datasou...
An architecture for federated data discovery and lineage over on-prem datasou...An architecture for federated data discovery and lineage over on-prem datasou...
An architecture for federated data discovery and lineage over on-prem datasou...DataWorks Summit
 
Phar Data Platform: From the Lakehouse Paradigm to the Reality
Phar Data Platform: From the Lakehouse Paradigm to the RealityPhar Data Platform: From the Lakehouse Paradigm to the Reality
Phar Data Platform: From the Lakehouse Paradigm to the RealityDatabricks
 

What's hot (20)

Databricks Fundamentals
Databricks FundamentalsDatabricks Fundamentals
Databricks Fundamentals
 
Undo internals paper
Undo internals paperUndo internals paper
Undo internals paper
 
Amazon Redshift Masterclass
Amazon Redshift MasterclassAmazon Redshift Masterclass
Amazon Redshift Masterclass
 
NoSQL databases - An introduction
NoSQL databases - An introductionNoSQL databases - An introduction
NoSQL databases - An introduction
 
Nosql seminar
Nosql seminarNosql seminar
Nosql seminar
 
The Evolution of SQL Server as a Service - SQL Azure Managed Instance
The Evolution of SQL Server as a Service - SQL Azure Managed InstanceThe Evolution of SQL Server as a Service - SQL Azure Managed Instance
The Evolution of SQL Server as a Service - SQL Azure Managed Instance
 
Data weekender4.2 azure purview erwin de kreuk
Data weekender4.2  azure purview erwin de kreukData weekender4.2  azure purview erwin de kreuk
Data weekender4.2 azure purview erwin de kreuk
 
Data Modeling on Azure for Analytics
Data Modeling on Azure for AnalyticsData Modeling on Azure for Analytics
Data Modeling on Azure for Analytics
 
Introduction to NoSQL Databases
Introduction to NoSQL DatabasesIntroduction to NoSQL Databases
Introduction to NoSQL Databases
 
Slides: Relational to NoSQL Migration
Slides: Relational to NoSQL MigrationSlides: Relational to NoSQL Migration
Slides: Relational to NoSQL Migration
 
SQL Server 2019 Master Data Service
SQL Server 2019 Master Data ServiceSQL Server 2019 Master Data Service
SQL Server 2019 Master Data Service
 
NOSQL
NOSQLNOSQL
NOSQL
 
Quantitative Performance Evaluation of Cloud-Based MySQL (Relational) Vs. Mon...
Quantitative Performance Evaluation of Cloud-Based MySQL (Relational) Vs. Mon...Quantitative Performance Evaluation of Cloud-Based MySQL (Relational) Vs. Mon...
Quantitative Performance Evaluation of Cloud-Based MySQL (Relational) Vs. Mon...
 
Knowledge Representation, Semantic Web
Knowledge Representation, Semantic WebKnowledge Representation, Semantic Web
Knowledge Representation, Semantic Web
 
Introducing Azure SQL Data Warehouse
Introducing Azure SQL Data WarehouseIntroducing Azure SQL Data Warehouse
Introducing Azure SQL Data Warehouse
 
SQL Server Versions & Migration Paths
SQL Server Versions & Migration PathsSQL Server Versions & Migration Paths
SQL Server Versions & Migration Paths
 
NOSQL vs SQL
NOSQL vs SQLNOSQL vs SQL
NOSQL vs SQL
 
Data Mesh at CMC Markets: Past, Present and Future
Data Mesh at CMC Markets: Past, Present and FutureData Mesh at CMC Markets: Past, Present and Future
Data Mesh at CMC Markets: Past, Present and Future
 
An architecture for federated data discovery and lineage over on-prem datasou...
An architecture for federated data discovery and lineage over on-prem datasou...An architecture for federated data discovery and lineage over on-prem datasou...
An architecture for federated data discovery and lineage over on-prem datasou...
 
Phar Data Platform: From the Lakehouse Paradigm to the Reality
Phar Data Platform: From the Lakehouse Paradigm to the RealityPhar Data Platform: From the Lakehouse Paradigm to the Reality
Phar Data Platform: From the Lakehouse Paradigm to the Reality
 

Similar to MongoDB Outperforms MySQL in Read Operations Based on STS Soft SC Benchmark Tests

A Study on Mongodb Database.pdf
A Study on Mongodb Database.pdfA Study on Mongodb Database.pdf
A Study on Mongodb Database.pdfJessica Navarro
 
A Study on Mongodb Database
A Study on Mongodb DatabaseA Study on Mongodb Database
A Study on Mongodb DatabaseIJSRD
 
Analysis on NoSQL: MongoDB Tool
Analysis on NoSQL: MongoDB ToolAnalysis on NoSQL: MongoDB Tool
Analysis on NoSQL: MongoDB Toolijtsrd
 
MONGODB VS MYSQL: A COMPARATIVE STUDY OF PERFORMANCE IN SUPER MARKET MANAGEME...
MONGODB VS MYSQL: A COMPARATIVE STUDY OF PERFORMANCE IN SUPER MARKET MANAGEME...MONGODB VS MYSQL: A COMPARATIVE STUDY OF PERFORMANCE IN SUPER MARKET MANAGEME...
MONGODB VS MYSQL: A COMPARATIVE STUDY OF PERFORMANCE IN SUPER MARKET MANAGEME...ijcsity
 
MONGODB VS MYSQL: A COMPARATIVE STUDY OF PERFORMANCE IN SUPER MARKET MANAGEME...
MONGODB VS MYSQL: A COMPARATIVE STUDY OF PERFORMANCE IN SUPER MARKET MANAGEME...MONGODB VS MYSQL: A COMPARATIVE STUDY OF PERFORMANCE IN SUPER MARKET MANAGEME...
MONGODB VS MYSQL: A COMPARATIVE STUDY OF PERFORMANCE IN SUPER MARKET MANAGEME...ijcsity
 
MONGODB VS MYSQL: A COMPARATIVE STUDY OF PERFORMANCE IN SUPER MARKET MANAGEME...
MONGODB VS MYSQL: A COMPARATIVE STUDY OF PERFORMANCE IN SUPER MARKET MANAGEME...MONGODB VS MYSQL: A COMPARATIVE STUDY OF PERFORMANCE IN SUPER MARKET MANAGEME...
MONGODB VS MYSQL: A COMPARATIVE STUDY OF PERFORMANCE IN SUPER MARKET MANAGEME...ijcsity
 
MongoDB Lab Manual (1).pdf used in data science
MongoDB Lab Manual (1).pdf used in data scienceMongoDB Lab Manual (1).pdf used in data science
MongoDB Lab Manual (1).pdf used in data sciencebitragowthamkumar1
 
nosql [Autosaved].pptx
nosql [Autosaved].pptxnosql [Autosaved].pptx
nosql [Autosaved].pptxIndrani Sen
 
NOSQL- Presentation on NoSQL
NOSQL- Presentation on NoSQLNOSQL- Presentation on NoSQL
NOSQL- Presentation on NoSQLRamakant Soni
 
NOSQL in big data is the not only structure langua.pdf
NOSQL in big data is the not only structure langua.pdfNOSQL in big data is the not only structure langua.pdf
NOSQL in big data is the not only structure langua.pdfajajkhan16
 
Mongo Bb - NoSQL tutorial
Mongo Bb - NoSQL tutorialMongo Bb - NoSQL tutorial
Mongo Bb - NoSQL tutorialMohan Rathour
 
A Seminar on NoSQL Databases.
A Seminar on NoSQL Databases.A Seminar on NoSQL Databases.
A Seminar on NoSQL Databases.Navdeep Charan
 
Beginner's guide to Mongodb and NoSQL
Beginner's guide to Mongodb and NoSQL  Beginner's guide to Mongodb and NoSQL
Beginner's guide to Mongodb and NoSQL Maulin Shah
 
SQL vs NoSQL deep dive
SQL vs NoSQL deep diveSQL vs NoSQL deep dive
SQL vs NoSQL deep diveAhmed Shaaban
 
Introduction to MongoDB.pptx
Introduction to MongoDB.pptxIntroduction to MongoDB.pptx
Introduction to MongoDB.pptxSurya937648
 
Non relational databases-no sql
Non relational databases-no sqlNon relational databases-no sql
Non relational databases-no sqlRam kumar
 

Similar to MongoDB Outperforms MySQL in Read Operations Based on STS Soft SC Benchmark Tests (20)

A Study on Mongodb Database.pdf
A Study on Mongodb Database.pdfA Study on Mongodb Database.pdf
A Study on Mongodb Database.pdf
 
A Study on Mongodb Database
A Study on Mongodb DatabaseA Study on Mongodb Database
A Study on Mongodb Database
 
Analysis on NoSQL: MongoDB Tool
Analysis on NoSQL: MongoDB ToolAnalysis on NoSQL: MongoDB Tool
Analysis on NoSQL: MongoDB Tool
 
NoSql Databases
NoSql DatabasesNoSql Databases
NoSql Databases
 
MONGODB VS MYSQL: A COMPARATIVE STUDY OF PERFORMANCE IN SUPER MARKET MANAGEME...
MONGODB VS MYSQL: A COMPARATIVE STUDY OF PERFORMANCE IN SUPER MARKET MANAGEME...MONGODB VS MYSQL: A COMPARATIVE STUDY OF PERFORMANCE IN SUPER MARKET MANAGEME...
MONGODB VS MYSQL: A COMPARATIVE STUDY OF PERFORMANCE IN SUPER MARKET MANAGEME...
 
MONGODB VS MYSQL: A COMPARATIVE STUDY OF PERFORMANCE IN SUPER MARKET MANAGEME...
MONGODB VS MYSQL: A COMPARATIVE STUDY OF PERFORMANCE IN SUPER MARKET MANAGEME...MONGODB VS MYSQL: A COMPARATIVE STUDY OF PERFORMANCE IN SUPER MARKET MANAGEME...
MONGODB VS MYSQL: A COMPARATIVE STUDY OF PERFORMANCE IN SUPER MARKET MANAGEME...
 
MONGODB VS MYSQL: A COMPARATIVE STUDY OF PERFORMANCE IN SUPER MARKET MANAGEME...
MONGODB VS MYSQL: A COMPARATIVE STUDY OF PERFORMANCE IN SUPER MARKET MANAGEME...MONGODB VS MYSQL: A COMPARATIVE STUDY OF PERFORMANCE IN SUPER MARKET MANAGEME...
MONGODB VS MYSQL: A COMPARATIVE STUDY OF PERFORMANCE IN SUPER MARKET MANAGEME...
 
MongoDB Lab Manual (1).pdf used in data science
MongoDB Lab Manual (1).pdf used in data scienceMongoDB Lab Manual (1).pdf used in data science
MongoDB Lab Manual (1).pdf used in data science
 
nosql [Autosaved].pptx
nosql [Autosaved].pptxnosql [Autosaved].pptx
nosql [Autosaved].pptx
 
NOSQL- Presentation on NoSQL
NOSQL- Presentation on NoSQLNOSQL- Presentation on NoSQL
NOSQL- Presentation on NoSQL
 
NOSQL in big data is the not only structure langua.pdf
NOSQL in big data is the not only structure langua.pdfNOSQL in big data is the not only structure langua.pdf
NOSQL in big data is the not only structure langua.pdf
 
Unit 3 MongDB
Unit 3 MongDBUnit 3 MongDB
Unit 3 MongDB
 
Mongodb
MongodbMongodb
Mongodb
 
Mongo Bb - NoSQL tutorial
Mongo Bb - NoSQL tutorialMongo Bb - NoSQL tutorial
Mongo Bb - NoSQL tutorial
 
A Seminar on NoSQL Databases.
A Seminar on NoSQL Databases.A Seminar on NoSQL Databases.
A Seminar on NoSQL Databases.
 
Beginner's guide to Mongodb and NoSQL
Beginner's guide to Mongodb and NoSQL  Beginner's guide to Mongodb and NoSQL
Beginner's guide to Mongodb and NoSQL
 
Report 2.0.docx
Report 2.0.docxReport 2.0.docx
Report 2.0.docx
 
SQL vs NoSQL deep dive
SQL vs NoSQL deep diveSQL vs NoSQL deep dive
SQL vs NoSQL deep dive
 
Introduction to MongoDB.pptx
Introduction to MongoDB.pptxIntroduction to MongoDB.pptx
Introduction to MongoDB.pptx
 
Non relational databases-no sql
Non relational databases-no sqlNon relational databases-no sql
Non relational databases-no sql
 

Recently uploaded

The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...RKavithamani
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 

Recently uploaded (20)

The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 

MongoDB Outperforms MySQL in Read Operations Based on STS Soft SC Benchmark Tests

  • 2.  Introduction  Relational  Non-Relational  MongoDB  MySQL  STS Soft SC Benchmark  Result and Analysis  Conclusion  References 2
  • 3. 3 While traditional relational databases are still used in a large scope of applications, we have seen recently an explosion in the number of a new data bases technologies developed in particular for Big Data serving. Currently the main alternatives to RDMBS are NoSQL databases. The primary focus of this thesis is to compare and evaluate a NoSQL(MongoDB) and SQL(MySQL) databases in terms of response time while performing write, read, and secondary read operations and answer the question of whether one perform better than the other. The NoSQL databases were created as a mean to offer high availability at the price of losing the ACID (Atomic, Consistent, Isolated, Durable) guarantees of the traditional databases in exchange with keeping a weaker BASE (Basic Availability, Soft state, Eventual consistency) feature
  • 4. 4
  • 5. The idea of the relational model presented by Codd in 1970, where the relational model emphasized on the idea of organizing data in the form of two-dimensional table, "relationships" SQL is a programming language for special purposes have been designed to manage data in a relational database management system. 5
  • 6.  The NoSQL database is a whole new approach to manage data for very large sets of distributed data.  The data created today is so large and complex it is very difficult to process in traditional RDBMS.  NoSQL is widely used for exploring big data. Many Internet giants, such as Amazon Dynamo, Google BigTable, LinkedIn Voldemort, Twitter FlockDB and Facebook Cassandra 6
  • 7. 7
  • 8. MongoDB is an open source non-relational document oriented (NoSQL) database management system designed by MongoDB. In MongoDB the objects are represented by documents (with JSON like format). The documents with the same characteristics/properties are grouped together in a collection. Data in MongoDB has a flexible schema. Unlike relational databases, MongoDB’s collections do not enforce document structure. 8
  • 9.  MySQL was included as a baseline to represent conventional RDBMS performance. MySQL, the second most widely used RDBMS in the world, has been covered heavily in prior literature and will be left to the reader to pursue.  MySQL is a commercial relational database management system designed by Oracle. In order to capture the semantics of the database, the data (objects) in SQL is represented by a table (schema).  The objects with the same number of properties, type and format are grouped together in a table with a column for each property, making it structured data. Each row in such a table represents a different object. 9
  • 10. MongoDB Adobe: uses Mongodb to store petabytes of data.  e-bay uses mongodb in the search suggestion. Linkedln uses mongo as its backend DB MySQL Booking.com: one of Europe's online hotel travel reservation agency Telenor Friendstar Motorola 10
  • 11. mysql mongodb Tables and rows Collection of JSON Column Field Join operation Embedded document Sql Mongodb quering language Table and column required No define schema Select*from user Db.user.find() 11
  • 12. The benchmarks to collect performance results were run using the STS Soft SC version 3.0.0. STS Soft Database Benchmark is an open source tools designed to stress test database indexing technologies with large data flows. The test engine of Database Benchmark performs three tests: Write Read Secondary Read 12
  • 13. 13
  • 14. The benchmark results analyzed here reveals how the two databases respond to write, read and secondary read operations in terms of INSERT and READ. As mentioned earlier, the primary method of analyzing the results is through a graph, the time taken to complete an operation. The graph is plotted against the varied number of INSERTED records and READ the records. 14
  • 15. 15 Records MongoDB Write Time(s) MySQL Write Time(s)   100 0 94   50000 14 103   100000 18 105   200000 49 109   300000 77 119   1000000 259 166   2000000 508 227   3000000 674 278   4000000 922 316   5000000 1064 415          
  • 16. 16
  • 17. 17 Records MongoDB Read Time(s) MySQL Read Time(s)   100 0 0   50000 0 1   100000 4 2   200000 10 4   300000 13 5   1000000 47 70   2000000 87 133   3000000 114 570   4000000 151 882   5000000 163 1050          
  • 18. 18
  • 19. Records MongoDB Secondary Read Time(s) MySQL Secondary Read Time(s)   100 0 0   50000 1 0   100000 4 2   200000 10 4   300000 12 5   1000000 46 53   2000000 88 114   3000000 114 614   4000000 140 839   5000000 170 1079           19
  • 20. 20
  • 21. Records MongoDB Size in (MB) MySQL Size in (MB) 100 0 0 50000 13.5 3.4 100000 27.1 6.8 200000 54.1 13.6 300000 82.5 20.4 1000000 273.2 68.1 2000000 546.3 130.1 3000000 819.2 201.1 4000000 1092.4 272.1 5000000 1370.1 340.1       21
  • 22. 22
  • 23. The experiments performed in the project tested and compared how each of the three databases responded to operation loads per time. The operations used in analyzing the performance and scaling abilities were WRITE and READ operations. The times spent by each database to complete different magnitude of the operations were recorded. The measurements and charts presented in the experiment revealed MongoDB’s READ performance advantage over MySQL in both read and secondary operations due to its simple and flexible schema, which made it cope faster with queries. 23
  • 24.  [1] Berg K., Seymour T., and Coel R. History of Databases. International Journal of Management and Information Services, 17, 2013    [2] IBM. Big data: Why it Matters to The Midmarket. http://http://www.ibm.com/midmarket/us/en/article_BusinessAnalytics4_121 2.html.    [3] Jatana N., Puri S., Ahuja M., Kathuria I., Gosain D., (2012), “A Survey and Comparison of Relational and Non-Relational Database”, International Journal of Engineering Re-search & Technology (IJERT), vol. 1, no. 6, pp.1- 5.  [4] Beynon-Davies P. Database Systems. Palgrave Macmillan, 3rd edition.    [5] Cory Nance, Reenu Iype, Travis Losser and Gary Harmon. NOSQL VS RDBMS - WHY THERE IS ROOM FOR BOTH. In Proceedings of the Southern Association for Information Systems Conference, paper 27, SAIS, 2013 24