Correct option is B
MongoDB is a NoSQL database that uses a flexible, schema-less data model. This allows MongoDB to store data in a way that is easily scalable, suitable for dynamic and unstructured data.
Important Key Points:
1.
MongoDB is a
NoSQL database that stores data in a
document-oriented format using
BSON (Binary JSON), making it highly flexible and adaptable to changes in data requirements.
2. MongoDB is
schema-less, meaning each document in a collection can have a different structure, allowing for high
flexibility and rapid development.
3. MongoDB supports
horizontal scaling through
sharding, making it suitable for large-scale applications.
Knowledge Booster:
·
Relational Database and ACID Transactions: MongoDB is not a
relational database, but it does offer
ACID transactions at a document level, especially in recent versions (starting from version 4.0).
·
Columnar Database: MongoDB is
not a columnar database; instead, it is
document-oriented. Columnar databases, like
Apache Cassandra, are optimized for
analytical queries, whereas MongoDB focuses on operational queries.
·
Graph Database: MongoDB is not a
graph database; it doesn't optimize specifically for
traversing relationships. Graph databases, like
Neo4j, are designed for efficiently managing data with intricate relationships.
·
Same Schema Requirement: Unlike
relational databases, MongoDB
does not require a fixed schema for documents in a collection. Each document can have a unique structure, enabling flexibility.