0% found this document useful (0 votes)
1 views1 page

Lec 1 (Adms Lab)

MongoDB is a NoSQL database that stores data in flexible, JSON-like documents, making it suitable for unstructured data and scalability. It features a schema-less design, collections for organizing documents, and supports horizontal scalability, replication, and sharding for high availability. Its powerful querying capabilities and aggregation framework make it ideal for applications requiring flexible data models and real-time analytics.

Uploaded by

hassan hassan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1 views1 page

Lec 1 (Adms Lab)

MongoDB is a NoSQL database that stores data in flexible, JSON-like documents, making it suitable for unstructured data and scalability. It features a schema-less design, collections for organizing documents, and supports horizontal scalability, replication, and sharding for high availability. Its powerful querying capabilities and aggregation framework make it ideal for applications requiring flexible data models and real-time analytics.

Uploaded by

hassan hassan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

LEC 1 (Advance Database Management System)

Mongo DB
MongoDB: A NoSQL database that stores data in flexible, JSON-like documents. It's great for handling
unstructured data and scalability but doesn't use SQL.

In-depth overview of MongoDB


1. NoSQL Database: MongoDB is a NoSQL (Not Only SQL) database, meaning it does not rely on the
traditional relational model and can store unstructured or semi-structured data.

2. Document-Oriented: It stores data in JSON-like documents called BSON (Binary JSON). Each document
is a set of key-value pairs, allowing for nested structures.

3. Schema-less : MongoDB allows flexible data models, meaning you don’t need to define a fixed schema
for the data, and different documents in the same collection can have different fields.

4. Collections: Data is stored in collections , which are groups of documents. Collections are the
equivalent of tables in relational databases.

5. Scalability: MongoDB is designed for horizontal scalability, meaning it can easily distribute data across
many servers, making it suitable for large-scale applications.

6. High Availability: It supports replication, ensuring data availability and redundancy across multiple
servers (replica sets).

7. Sharding: MongoDB can distribute data across multiple machines (sharding) to ensure high
performance and scalability.

8. Powerful Querying: It supports complex queries, including filtering, sorting, and aggregation, using its
rich query language, though it's different from SQL.

9. Indexes: MongoDB allows you to create indexes on fields to improve the performance of queries.

10. Aggregation Framework: MongoDB has a powerful aggregation framework for processing data,
performing calculations, and transforming documents.

11. Open-Source: MongoDB is open-source, and it has an active community, which contributes to its
continuous improvement.

12. Use Cases: Ideal for applications needing flexible data models, real-time analytics, content
management, and systems handling large volumes of diverse data, like social networks or IoT
applications.

You might also like