SlideShare a Scribd company logo
2
Most read
3
Most read
12
Most read
MySQL vs. MongoDB: Looking At
Relational and Non-Relational Databases
By
HEMAL SHARMA
What is MySQL?
• MySQL is a popular open-source relational database management system
(RDBMS) that is developed, distributed and supported by Oracle
Corporation.
• Like other relational systems, MySQL stores data in tables and uses
structured query language (SQL) for database access.
• In MySQL, you pre-define your database schema based on your
requirements and set up rules to govern the relationships between fields
in your tables.
• In MySQL, related information may be stored in separate tables, but
associated through the use of joins. In this way, data duplication is
minimized.
Mongodb vs mysql
Mongodb vs mysql
Mongodb vs mysql
Mongodb vs mysql
What is MongoDB?
• MongoDB (“from the word humongous”) is an open-source database
developed by MongoDB, Inc.
• MongoDB stores data in JSON-like documents that can vary in structure.
• Related information is stored together for fast query access through the
MongoDB query language.
• MongoDB uses dynamic schemas, meaning that you can create records
without first defining the structure, such as the fields or the types of their
values.
• You can change the structure of records (which we call documents) simply
by adding new fields or deleting existing ones.
• This data model give you the ability to represent hierarchical relationships,
to store arrays, and other more complex structures easily.
Mongodb vs mysql
Mongodb vs mysql
Mongodb vs mysql
Mongodb vs mysql
Featurs
My Sql Mongo DB
Flexibility of Schema MySQL, you need to clearly define tables
and columns, and every row in the table
should have the same column.
MongoDB is that there are no
restrictions on schema design.
Querying Language MySQL uses the structured query
language SQL to communicate with the
database. They used DDL (CRUD) and
DML (Creat,Drop,Alter..)
MongoDB uses an unstructured
query language. use json
document.
Relationships One of the best parts about MySQL is the
JOIN operations.
For example, we can easily obtain related
data in multiple tables.
MongoDB doesn’t support JOIN .
they supports multi-dimensional
data types such as arrays and even
other documents.
Performance and Speed MySQL is quite slower in comparison to
MongoDB when it comes to dealing with
large databases.
is its ability to handle large
unstructured data
Security Model MySQL uses a privilege-based security
model. This means it authenticates a user
privileges on a particular database such
as CREATE, SELECT, INSERT, UPDATE
MongoDB uses role-based access
control. Its security features
include authentication, auditing,
and authorization. Possible TLS
and SSL
Diffrance
Mongodb vs mysql
Mongodb vs mysql
Who used mysql ?
Who Used MongoDb ?
Example
MongoDb
MySQL
Terminology and Concepts
A comprehensive list of statements
• To answer the question, “Why I should use MongoDb over MySql?” you need to take into consideration your
project goals and many other things.
• MySQL is highly organized for its flexibility, high performance, reliable data protection, and ease of managing
data. Proper data indexing can resolve your issue with performance, facilitate interaction and ensure
robustness.
• But if your data is not structured and complex to handle, or if predefining your schema is not coming easy
for you, you should better opt for MongoDB. What’s more, if you're required to handle a large volume of
data and store it as documents, MongoDB will help you a lot!
• The result of the faceoff: One isn’t necessarily better than the other. MongoDB and MySQL both serve in
different niches.
Conclusion
Resources
• https://www.mongodb.com/compare/mongodb-mysql
• https://hackernoon.com/mongodb-vs-mysql-comparison-which-
database-is-better-e714b699c38b
• https://blog.panoply.io/mongodb-and-mysql
• https://dzone.com/articles/comparing-mongodb-amp-mysql
• https://dzone.com/articles/mysql-vs-mongodb-the-pros-and-cons-
when-building-a
• https://www.mysql.com/customers/
• https://www.mongodb.com/who-uses-mongodb
• https://www.youtube.com/watch?v=ZS_kXvOeQ5Y
Mongodb vs mysql

More Related Content

PPTX
Soap vs rest
Antonio Severien
 
PPTX
Presentation on My Dream Company
Al Imran
 
PPTX
SQL vs MongoDB
calltutors
 
PDF
Career guide high school
feliciatyus1967
 
PPTX
Presentation on "An Introduction to ReactJS"
Flipkart
 
PDF
Data Models
RituBhargava7
 
PDF
Mongo db dhruba
Dhrubaji Mandal ♛
 
PPTX
Applied research - Research Methodology - Manu Melwin Joy
manumelwin
 
Soap vs rest
Antonio Severien
 
Presentation on My Dream Company
Al Imran
 
SQL vs MongoDB
calltutors
 
Career guide high school
feliciatyus1967
 
Presentation on "An Introduction to ReactJS"
Flipkart
 
Data Models
RituBhargava7
 
Mongo db dhruba
Dhrubaji Mandal ♛
 
Applied research - Research Methodology - Manu Melwin Joy
manumelwin
 

What's hot (20)

PPTX
Mongodb basics and architecture
Bishal Khanal
 
PPTX
NoSQL databases - An introduction
Pooyan Mehrparvar
 
PPTX
MongoDB
nikhil2807
 
PPTX
MongoDB presentation
Hyphen Call
 
PPTX
Non relational databases-no sql
Ram kumar
 
PPTX
Postgresql
NexThoughts Technologies
 
PPTX
The Basics of MongoDB
valuebound
 
PPTX
Basics of MongoDB
HabileLabs
 
PDF
Introduction to MongoDB
Mike Dirolf
 
PPTX
Relational databases vs Non-relational databases
James Serra
 
PPTX
An Introduction To NoSQL & MongoDB
Lee Theobald
 
PPTX
Apache HBase™
Prashant Gupta
 
PPTX
Introduction to NoSQL Databases
Derek Stainer
 
PPT
Introduction to MongoDB
Ravi Teja
 
PDF
NOSQL- Presentation on NoSQL
Ramakant Soni
 
PPTX
introduction to NOSQL Database
nehabsairam
 
PPTX
NOSQL vs SQL
Mohammed Fazuluddin
 
PPTX
Relational and non relational database 7
abdulrahmanhelan
 
PDF
NoSQL databases
Marin Dimitrov
 
Mongodb basics and architecture
Bishal Khanal
 
NoSQL databases - An introduction
Pooyan Mehrparvar
 
MongoDB
nikhil2807
 
MongoDB presentation
Hyphen Call
 
Non relational databases-no sql
Ram kumar
 
The Basics of MongoDB
valuebound
 
Basics of MongoDB
HabileLabs
 
Introduction to MongoDB
Mike Dirolf
 
Relational databases vs Non-relational databases
James Serra
 
An Introduction To NoSQL & MongoDB
Lee Theobald
 
Apache HBase™
Prashant Gupta
 
Introduction to NoSQL Databases
Derek Stainer
 
Introduction to MongoDB
Ravi Teja
 
NOSQL- Presentation on NoSQL
Ramakant Soni
 
introduction to NOSQL Database
nehabsairam
 
NOSQL vs SQL
Mohammed Fazuluddin
 
Relational and non relational database 7
abdulrahmanhelan
 
NoSQL databases
Marin Dimitrov
 
Ad

Similar to Mongodb vs mysql (20)

PDF
My sql vs mongo
krishnapriya Tadepalli
 
PPTX
Unit-10.pptx
GhanashyamBK1
 
PDF
MongoDB Lab Manual (1).pdf used in data science
bitragowthamkumar1
 
PPTX
DSA _ASSIGNMENT_1(MONGODB VS RDBMS).pptx
DharshanS41
 
PPTX
Unit 3 MongDB
Praveen M Jigajinni
 
PPTX
nosql [Autosaved].pptx
Indrani Sen
 
PDF
MONGODB VS MYSQL: A COMPARATIVE STUDY OF PERFORMANCE IN SUPER MARKET MANAGEME...
ijcsity
 
PDF
MONGODB VS MYSQL: A COMPARATIVE STUDY OF PERFORMANCE IN SUPER MARKET MANAGEME...
ijcsity
 
PDF
MONGODB VS MYSQL: A COMPARATIVE STUDY OF PERFORMANCE IN SUPER MARKET MANAGEME...
ijcsity
 
PPTX
MySQL.pptx
SHAQORPRO
 
PPTX
No SQL - MongoDB
Mirza Asif
 
PPT
Mongo Bb - NoSQL tutorial
Mohan Rathour
 
PDF
Introduction to MongoDB How is it Different from RDBMS
Ravendra Singh
 
PPTX
SQL vs NoSQL Data Modeling.pptx
GarimaHasija1
 
PDF
Introduction to MongoDB and its best practices
AshishRathore72
 
PDF
Analysis on NoSQL: MongoDB Tool
ijtsrd
 
PPTX
NoSQL.pptx
ShamrizSadat
 
PDF
the rising no sql technology
INFOGAIN PUBLICATION
 
PDF
Presentation On NoSQL Databases
Abiral Gautam
 
PPTX
NoSQL(MongoDB and DynamoDB) Overview.pptx
nikhilaukhaj590
 
My sql vs mongo
krishnapriya Tadepalli
 
Unit-10.pptx
GhanashyamBK1
 
MongoDB Lab Manual (1).pdf used in data science
bitragowthamkumar1
 
DSA _ASSIGNMENT_1(MONGODB VS RDBMS).pptx
DharshanS41
 
Unit 3 MongDB
Praveen M Jigajinni
 
nosql [Autosaved].pptx
Indrani Sen
 
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...
ijcsity
 
MONGODB VS MYSQL: A COMPARATIVE STUDY OF PERFORMANCE IN SUPER MARKET MANAGEME...
ijcsity
 
MySQL.pptx
SHAQORPRO
 
No SQL - MongoDB
Mirza Asif
 
Mongo Bb - NoSQL tutorial
Mohan Rathour
 
Introduction to MongoDB How is it Different from RDBMS
Ravendra Singh
 
SQL vs NoSQL Data Modeling.pptx
GarimaHasija1
 
Introduction to MongoDB and its best practices
AshishRathore72
 
Analysis on NoSQL: MongoDB Tool
ijtsrd
 
NoSQL.pptx
ShamrizSadat
 
the rising no sql technology
INFOGAIN PUBLICATION
 
Presentation On NoSQL Databases
Abiral Gautam
 
NoSQL(MongoDB and DynamoDB) Overview.pptx
nikhilaukhaj590
 
Ad

Recently uploaded (20)

PPTX
Congenital Hypothyroidism pptx
AneetaSharma15
 
PPTX
Skill Development Program For Physiotherapy Students by SRY.pptx
Prof.Dr.Y.SHANTHOSHRAJA MPT Orthopedic., MSc Microbiology
 
PDF
1.Natural-Resources-and-Their-Use.ppt pdf /8th class social science Exploring...
Sandeep Swamy
 
PPTX
Nursing Management of Patients with Disorders of Ear, Nose, and Throat (ENT) ...
RAKESH SAJJAN
 
PPTX
Software Engineering BSC DS UNIT 1 .pptx
Dr. Pallawi Bulakh
 
PPTX
CARE OF UNCONSCIOUS PATIENTS .pptx
AneetaSharma15
 
PPTX
PPTs-The Rise of Empiresghhhhhhhh (1).pptx
academysrusti114
 
PDF
Virat Kohli- the Pride of Indian cricket
kushpar147
 
PDF
Phylum Arthropoda: Characteristics and Classification, Entomology Lecture
Miraj Khan
 
PDF
Sunset Boulevard Student Revision Booklet
jpinnuck
 
PDF
7.Particulate-Nature-of-Matter.ppt/8th class science curiosity/by k sandeep s...
Sandeep Swamy
 
PPTX
Understanding operators in c language.pptx
auteharshil95
 
PDF
2.Reshaping-Indias-Political-Map.ppt/pdf/8th class social science Exploring S...
Sandeep Swamy
 
PPTX
Information Texts_Infographic on Forgetting Curve.pptx
Tata Sevilla
 
PPTX
Strengthening open access through collaboration: building connections with OP...
Jisc
 
PPTX
vedic maths in python:unleasing ancient wisdom with modern code
mistrymuskan14
 
PPT
Python Programming Unit II Control Statements.ppt
CUO VEERANAN VEERANAN
 
DOCX
Action Plan_ARAL PROGRAM_ STAND ALONE SHS.docx
Levenmartlacuna1
 
PPTX
Tips Management in Odoo 18 POS - Odoo Slides
Celine George
 
PDF
Exploring-Forces 5.pdf/8th science curiosity/by sandeep swamy notes/ppt
Sandeep Swamy
 
Congenital Hypothyroidism pptx
AneetaSharma15
 
Skill Development Program For Physiotherapy Students by SRY.pptx
Prof.Dr.Y.SHANTHOSHRAJA MPT Orthopedic., MSc Microbiology
 
1.Natural-Resources-and-Their-Use.ppt pdf /8th class social science Exploring...
Sandeep Swamy
 
Nursing Management of Patients with Disorders of Ear, Nose, and Throat (ENT) ...
RAKESH SAJJAN
 
Software Engineering BSC DS UNIT 1 .pptx
Dr. Pallawi Bulakh
 
CARE OF UNCONSCIOUS PATIENTS .pptx
AneetaSharma15
 
PPTs-The Rise of Empiresghhhhhhhh (1).pptx
academysrusti114
 
Virat Kohli- the Pride of Indian cricket
kushpar147
 
Phylum Arthropoda: Characteristics and Classification, Entomology Lecture
Miraj Khan
 
Sunset Boulevard Student Revision Booklet
jpinnuck
 
7.Particulate-Nature-of-Matter.ppt/8th class science curiosity/by k sandeep s...
Sandeep Swamy
 
Understanding operators in c language.pptx
auteharshil95
 
2.Reshaping-Indias-Political-Map.ppt/pdf/8th class social science Exploring S...
Sandeep Swamy
 
Information Texts_Infographic on Forgetting Curve.pptx
Tata Sevilla
 
Strengthening open access through collaboration: building connections with OP...
Jisc
 
vedic maths in python:unleasing ancient wisdom with modern code
mistrymuskan14
 
Python Programming Unit II Control Statements.ppt
CUO VEERANAN VEERANAN
 
Action Plan_ARAL PROGRAM_ STAND ALONE SHS.docx
Levenmartlacuna1
 
Tips Management in Odoo 18 POS - Odoo Slides
Celine George
 
Exploring-Forces 5.pdf/8th science curiosity/by sandeep swamy notes/ppt
Sandeep Swamy
 

Mongodb vs mysql

  • 1. MySQL vs. MongoDB: Looking At Relational and Non-Relational Databases By HEMAL SHARMA
  • 2. What is MySQL? • MySQL is a popular open-source relational database management system (RDBMS) that is developed, distributed and supported by Oracle Corporation. • Like other relational systems, MySQL stores data in tables and uses structured query language (SQL) for database access. • In MySQL, you pre-define your database schema based on your requirements and set up rules to govern the relationships between fields in your tables. • In MySQL, related information may be stored in separate tables, but associated through the use of joins. In this way, data duplication is minimized.
  • 7. What is MongoDB? • MongoDB (“from the word humongous”) is an open-source database developed by MongoDB, Inc. • MongoDB stores data in JSON-like documents that can vary in structure. • Related information is stored together for fast query access through the MongoDB query language. • MongoDB uses dynamic schemas, meaning that you can create records without first defining the structure, such as the fields or the types of their values. • You can change the structure of records (which we call documents) simply by adding new fields or deleting existing ones. • This data model give you the ability to represent hierarchical relationships, to store arrays, and other more complex structures easily.
  • 12. Featurs My Sql Mongo DB Flexibility of Schema MySQL, you need to clearly define tables and columns, and every row in the table should have the same column. MongoDB is that there are no restrictions on schema design. Querying Language MySQL uses the structured query language SQL to communicate with the database. They used DDL (CRUD) and DML (Creat,Drop,Alter..) MongoDB uses an unstructured query language. use json document. Relationships One of the best parts about MySQL is the JOIN operations. For example, we can easily obtain related data in multiple tables. MongoDB doesn’t support JOIN . they supports multi-dimensional data types such as arrays and even other documents. Performance and Speed MySQL is quite slower in comparison to MongoDB when it comes to dealing with large databases. is its ability to handle large unstructured data Security Model MySQL uses a privilege-based security model. This means it authenticates a user privileges on a particular database such as CREATE, SELECT, INSERT, UPDATE MongoDB uses role-based access control. Its security features include authentication, auditing, and authorization. Possible TLS and SSL
  • 20. A comprehensive list of statements
  • 21. • To answer the question, “Why I should use MongoDb over MySql?” you need to take into consideration your project goals and many other things. • MySQL is highly organized for its flexibility, high performance, reliable data protection, and ease of managing data. Proper data indexing can resolve your issue with performance, facilitate interaction and ensure robustness. • But if your data is not structured and complex to handle, or if predefining your schema is not coming easy for you, you should better opt for MongoDB. What’s more, if you're required to handle a large volume of data and store it as documents, MongoDB will help you a lot! • The result of the faceoff: One isn’t necessarily better than the other. MongoDB and MySQL both serve in different niches. Conclusion
  • 22. Resources • https://www.mongodb.com/compare/mongodb-mysql • https://hackernoon.com/mongodb-vs-mysql-comparison-which- database-is-better-e714b699c38b • https://blog.panoply.io/mongodb-and-mysql • https://dzone.com/articles/comparing-mongodb-amp-mysql • https://dzone.com/articles/mysql-vs-mongodb-the-pros-and-cons- when-building-a • https://www.mysql.com/customers/ • https://www.mongodb.com/who-uses-mongodb • https://www.youtube.com/watch?v=ZS_kXvOeQ5Y