You are on page 1of 27

A database management system used in

manufacturing industry and also popular


in other industries

MongoDB
Developed by MongoDB Inc.

Presented by
Hannah Marie L. Caringal
Content
of the
Presentation
Our topics for today
About MongoDB
History of MongoDB
Programming Languages that support MongoDB
Features of MongoDB
Architecture of MongoDB NoSQL Database
Industries and Companies that use MongoDB (w/pics)
Pros and Cons of MongoDB
FREE THE GENIUS
WITHIN EVERYONE.

About
MongoDB
MongoDB
A NoSQL database program
Release: February 11, 2009; 12 years ago

The leading NoSQL database on the market and utilizes a document-


oriented database.
An open-source document-oriented database. The term ‘NoSQL’
means ‘non-relational’. It means that MongoDB isn’t based on the
table-like relational database structure
Supports the rich querying of datasets large or small with fast
response times.
Using dynamic schemas, MongoDB enables agile development and
flexibility for application or business requirement changes.
Emphasizes performance, scalability, and high availability and in
many cases exceeds traditional databases in these areas.
A proven solution for a wide range of business requirements to
companies across numerous industries.
MongoDB
A schema-free document database
Stores data in flexible, JSON-like documents.
The document model maps to the objects in your application code,
making data easy to work with.
MongoDB is a distributed database at its core, so high availability,
horizontal scaling, and geographic distribution are built and easy
to use.
Common use cases for MongoDB include customer analytics,
content management, business transactions, and product data.
MongoDB believes in storing everything at one place in just one
document. Surely, there are multiple documents but moreover the
focus is on simply storing everything in one document.
Top MongoDB Usage
MongoDB is very scalable and flexible,
MOBILITY AND which gives fantastic database solutions to
SCALING deal with different kinds of environments.

With the help of MongoDB, one can see


REAL-TIME
aggregated data in a single view in real-
DATA
time, which provides massive value to the
INTEGRATION
companies.

There are many attributes to products


PRODUCT
that are easily stored as an object
CATALOG
using MongoDB and can be used to
understand the customer better in the
digital experience.

https://www.upgrad.com/blog/mongodb-real-world-use-cases/
MongoDB
history
MongoDB was created by Dwight
Merriman and Eliot Horowitz, who had
encountered development and scalability
issues with traditional relational database
approaches while building web
applications at DoubleClick, an online
advertising company that is now owned
by Google Inc. The name of the database
was derived from the word humongous
to represent the idea of supporting large
amounts of data.
MongoDB Merriman and Horowitz helped form 10Gen Inc.
in 2007 to commercialize MongoDB and related
software.

history The company was renamed MongoDB Inc. in


2013 and went public in October 2017 under the
ticker symbol MDB.

The DBMS was released as open source


software in 2009.

Organizations like the insurance company MetLife


have used MongoDB for customer service
applications, while other websites like Craigslist
have used it for archiving data, and the CERN
physics lab has used it for data aggregation and
discovery. Additionally, The New York Times has
used MongoDB to support a form-building
application for photo submissions.
Programming Languages
that are officially supported by MongoDB.
WHEN TO USE WHEN NOT TO USE

Data is Document or semi- Data is structured data.


structured(e.g. JSON, XML) with Data is extremely relational (e.g., Social
advanced query features. Media), i.e., Graph like data.
Fast application development where For Data Warehousing (OLAP
the schema is continuously changing. database).
Large structured data is normalized to Multi-Master write is needed for write-
multiple SQL tables and suffers in heavy loads.
terms of performance and complexity. High availability is preferred over
Data is Schema-less. Consistency.
Consistency is preferred over
availability for semi-structured data.
Popularity

As the prominent Document


Database, MongoDB is
enjoying soaring popularity
in recent years and the fifth
most popular database
according to the DB Engines
ranking:
Popularity

The Stack Overflow


Developer Survey 2020 also
puts MongoDB in 5th
position:
QUERIES

KEY It supports ad-hoc queries and document-


based queries.

FEATURES INDEX SUPPORT


Any field in the document can be indexed.

REPLICATION
It supports Master–Slave replication.
MongoDB uses native application to maintain
multiple copies of data. Preventing database
downtime is one of the replica set’s features as
it has self-healing shard.

MULTIPLE SERVERS
The database can run over multiple servers.
Data is duplicated to foolproof the system in
the case of hardware failure.
KEY
AUTO-SHARDING
This process distributes data across multiple
physical partitions called shards. Due to

FEATURES
sharding, MongoDB has an automatic load
balancing feature.

MAPREDUCE
It supports MapReduce and flexible
aggregation tools.

FAILURE HANDLING
In MongoDB, it’s easy to cope with cases of
failures. Huge numbers of replicas give out
increased protection and data availability
against database downtime like rack failures,
multiple machine failures, and data center
failures, or even network partitions.
GRIDFS

KEY Without complicating your stack, any sizes


of files can be stored. GridFS feature divides

FEATURES
files into smaller parts and stores them as
separate documents.

SCHEMA-LESS DATABASE
It is a schema-less database written in C++.

DOCUMENT-ORIENTED STORAGE
It uses BSON format which is a JSON-like
format.

PROCEDURES
MongoDB JavaScript works well as the
database uses the language instead of
procedures.
Database:
In simple words, it can be called the physical container for data.

Architecture of Collection:

MongoDB NoSQL
A group of database documents can be called a collection. Collections
can be defined as a cluster of MongoDB documents that exist within a
single database.
Database Document: A set of key–value pairs can be designated as a document.
Documents are associated with dynamic schemas.
Top Industries that use MongoDB
Distribution of companies that use MongoDB
based on company size (Revenue)
Distribution of companies that use MongoDB
based on company size (Employees)
Companies
using
MongoDB
Last year, in March
2020, Toyota Material
Handling decided to use
MongoDB as their
database to make their
manufacturing success.
Toyota Material Handling
and Industry 4.0 – Creating
a Smart Factory By Moving
from Monolith to MongoDB
Atlas

Toyota is famous for the quality of its


vehicles. Now that same standard is being
applied to how its development teams
create Internet of Things software that will
enable the move to smart, autonomous
and safer factories of the future.
Filip explained what it was he liked about
MongoDB:

"The most beautiful part is the data model.


Everything is a natural JSON document. So for
the developers, it is easy, really easy for them to
work with quickly. Spending time on building
business value, rather than data modeling."

Filip Dadgar, Principal Solutions Architect and IT-Manager, Toyota Material Handling Europe
But it wasn’t just the data model. Toyota Material Handling
had eight evaluation criteria that were used to decide on
which database platform they would use to make the
switch:

AUTOMATIC SCALABILITY,
OPERATIONS, AND SECURITY AND
PERFORMANCE MAINTENANCE COMPLIANCE

latency, scalable reads and writes that enable developers to focus on to safeguard highly sensitive
to meet customer SLAs and applications, rather than backend business and personal data
accommodate significant growth database administration
in the future
ECOSYSTEM FOR
DEVELOPER AUTOMATIC BACKUPS AND
PRODUCTIVITY RESTORE CLOUD AGNOSTIC

using proven best practices and to provide fully-managed data giving customers the freedom to
widely available skills protection and disaster recovery run anywhere, on any platform

DEVELOPER FRIENDLY
DATA LOCALITY
DATABASE

able to host in Northwest Europe


with a flexible data model so that
or West Europe in Microsoft
developers can continuously
Azure, therefore, ensuring close
integrate new application
geographic proximity to factories
functionality and stay ahead of
for latency-sensitive operations
market demands
PROS OF MONGODB CONS OF MONGODB

Simple data access, Extensive memory


storage, input, and consumption
retrieval Data insecurity
Easy compatibility with Complicated process
other data models to interpret into other
Horizontally scalable query languages
solution
References
https://www.xplenty.com/blog/mongodb-vs-postgresql/
https://www.xplenty.com/blog/mongodb-vs-postgresql/
https://www.credera.com/insights/mongodb-explained-5-minutes-less
https://www.opc-router.de/wp-
content/uploads/2019/10/OPC_to_MongoDB.png
https://en.wikiphttps://en.wikipedia.org/wiki/MongoDBedia.org/wiki/MongoDB
https://www.mongodb.com/
https://docs.mongodb.com/drivers/
https://www.w3schools.in/mongodb/overview/#Popular_Organizations_That_
Use_MongoDB
https://intellipaat.com/blog/what-is-mongodb/
https://discovery.hgdata.com/product/mongodb
https://www.mongodb.com/blog/post/video-toyota-industry-40-creating-
smart-factory-moving-from-monolithic-code-base-microservices-mongodb-
atlas-microsoft-azure
https://diginomica.com/sql-nosql-toyota-material-handlings-eight-criteria-
migrating-mongodb-atlas
https://searchdatamanagement.techtarget.com/definition/MongoDB
May 10, 2021

Application #2
Database Management

Presented by
Hannah Marie L. Caringal
ABM Maxwell

You might also like