Mongo DB
Mongo DB
MongoDB
Presented by:
Eya GHARRED, Ines CHEBIL
GTE2.1
Professor:
Takoua ABDELLATIF
2023-2024
Plan.
1. MangoDB 4. Scalability
Supported
2. Data Types
5. Fault Tolerance
1
Introduction.
MongoDB is is an open-source database management system
a type of NoSQL database that is used for managing large
volumes of data.
2
MongoDB Developer Tools.
3
Supported Data types.
Processes polymorphic data types:
Structured, Semi-structured, and unstructured data.
4
Features.
5
Document-oriented model.
6
Replication.
8
Sharding.
10
Use Cases.
Sharding Replication
Distributing write-intensive
Fault tolerance
workloads
Types of Indexes 12
Schema-Less.
13
Example.
14
CAP theorem.
15
Availability.
Why can’t MongoDB ensure Availability?
Master-slave architecture.
Master goes down, system takes time to elect a new primary.
Time of the election =UnAvailability .
16
Replica Set Elections.
17
Scalability.
Simple vertical or horizontal scale up or down as needed.
Auto-scaling for the resources to meet the needs.
18
How is Scalability assured?
19
Load Balancing.
23
Companies using MongoDB.
24
In our Case: